void gainXP() { int xpToAdd = Convert.ToInt32(initialEHealth * (1 + lengthMultiplier) * diffBonus[difficulty]); //stagedXP += xpToAdd; updatedHero = CharectorStats.GainXPFromKill(xpToAdd); SetXPText(); lengthMultiplier = 0; }
void gainXP() { int xpToAdd = Convert.ToInt32(initialEHealth * (1 + lengthMultiplier) * diffBonus[difficulty]); //stagedXP += xpToAdd; updatedHero = CharectorStats.GainXPFromKill(xpToAdd); SetXPText(); lengthMultiplier = 0; }