Ejemplo n.º 1
0
 static void AddSkillXpPrefix(Hero __instance, SkillObject skill, ref float xpAmount)
 {
     if (__instance != null && skill != null && __instance.HeroDeveloper != null && skill.GetName() != null && Hero.MainHero != null)
     {
         xpAmount *= SKILL_XP_MULTIPLIER;
     }
 }