Пример #1
0
 public void OnHeroLeveledUp(Hero hero, bool shouldNotify)
 {
     FreeSkill.Get(hero.StringId).TotalSkillPoints += 1;
 }
Пример #2
0
 static void Postfix(HeroDeveloper __instance, ref int __result)
 {
     __result -= FreeSkill.Get(__instance.StringId).SpentSkillPoints;
 }
Пример #3
0
 public CharacterMixin(CharacterVM vm) : base(vm)
 {
     _freeSkillData = FreeSkill.Get(_vm.Hero.StringId);
 }