#DeclareFunctions
1 messages · Page 1 of 1 (latest)
most likely the mistake is coming from those if clasuses being incorrect so you keep getting the same value
at all? or does the print apply just once?
Found 4 functions for calculatestatbonus
🇸 CDOTA_BaseNPC_Hero:CalculateStatBonus(force: bool): nil
Recalculate all stats after the hero gains stats.
🇸 CDOTABaseAbility:OnHeroCalculateStatBonus(): nil
🇸 CDOTA_Ability_Lua:OnHeroCalculateStatBonus(): nil
Caster (hero only) gained a level, skilled an ability, or received a new stat bonus.
🇸 CDOTA_Item_Lua:OnHeroCalculateStatBonus(): nil
Caster (hero only) gained a level, skilled an ability, or received a new stat bonus.