Ejemplo n.º 1
0
    public static void verbo_tax(GameObject attachee, GameObject triggerer)
    {
        if ((GetGlobalFlag(549) && !GetGlobalFlag(826) && !GetGlobalFlag(260)))
        {
            if ((PartyLeader.GetMoney() >= 20000))
            {
                PartyLeader.AdjustMoney(-20000);
                Sound(4178, 1);
                PartyLeader.FloatMesFileLine("mes/float.mes", 4);
            }
            else
            {
                SetGlobalVar(567, GetGlobalVar(567) + 1);
            }
        }

        SetGlobalFlag(260, false);
        return;
    }