Esempio n. 1
0
 public override void UpExp()
 {
     base.UpExp();
     Date_Manger.mydate_Instance.pet_snake_curExp = curExp;
     Date_Manger.mydate_Instance.pet_snake_lv     = level;
     Date_Manger.Save();
 }
Esempio n. 2
0
 public void CostGold(int cost)                              //消耗金币
 {
     Gold -= cost;
     DisGold();
     Date_Manger.mydate_Instance.Gold = Gold;
     Date_Manger.Save();
 }
Esempio n. 3
0
 public void AddGold()                                       //增加金币
 {
     Gold += (int)((Scores / 2) * SkillMultiple);
     Date_Manger.mydate_Instance.Gold = Gold;
     Date_Manger.Save();
     OpenAccount();
 }
Esempio n. 4
0
 public override void levelup()
 {
     base.levelup();
     Date_Manger.mydate_Instance.skill_add_lv = level;
     Date_Manger.Save();
 }