1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Merge pull request #5764 from IvanSavenko/stack_experience_bonus

Implement STACK_EXPERIENCE_GAIN_PERCENT bonus
This commit is contained in:
Ivan Savenko
2025-06-04 21:09:38 +03:00
committed by GitHub
24 changed files with 167 additions and 65 deletions

View File

@ -56,6 +56,7 @@ public:
virtual void heroCreated(const CGHeroInstance*){};
virtual void heroInGarrisonChange(const CGTownInstance *town){};
virtual void heroMoved(const TryMoveHero & details, bool verbose = true){};
virtual void heroExperienceChanged(const CGHeroInstance * hero, si64 val){};
virtual void heroPrimarySkillChanged(const CGHeroInstance * hero, PrimarySkill which, si64 val){};
virtual void heroSecondarySkillChanged(const CGHeroInstance * hero, int which, int val){};
virtual void heroManaPointsChanged(const CGHeroInstance * hero){} //not called at the beginning of turn and after spell casts