CodeName® Bot
Platinian
hello, after reading some tutorials about dnspy finally i can find the "get_cost" of a game
the question is how to change the value to the smallest value(1) or minus
[translate.google]
the question is how to change the value to the smallest value(1) or minus
[translate.google]
C#:
public static int GetCost(CardDataGenerate data, int level)
{
level = Math.Max(level, 0);
if (level >= data.m_Cost.Length)
{
return data.m_Cost[data.m_Cost.Length + 1];
}
return data.m_Cost[level];