Exemple #1
0
        private void ResearchDone(Sync sync)
        {
            UserInfoRow           user        = sync.MainUser;
            JSONTable_BaseUpgrade baseUpgrade = sync.CurrentBaseUpgrade;

            baseUpgrade[ResearchWait_ID].Level++;
            user.Might     += ResearchWait_Might;
            ResearchWait_ID = 0;
        }
Exemple #2
0
        private void UpgradeDone(Sync sync)
        {
            UserInfoRow           user        = sync.MainUser;
            JSONTable_BaseUpgrade baseUpgrade = sync.CurrentBaseUpgrade;

            baseUpgrade[UpgradeWait_ID].Level++;
            user.Might += UpgradeWait_Might;

            UpgradeWait_ID = 0;
        }