This is the AMP version of this page.
If you want to load the real page instead, click this text.

Solved how to change cost value to low value (il instructions)

Status
Not open for further replies.

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]



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];
 
Status
Not open for further replies.