mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Implement STACK_EXPERIENCE_GAIN_PERCENT bonus
Suggested on Discord - implements STACK_EXPERIENCE_GAIN_PERCENT that modifies stack experience received by units after combat - removed "EXPERIENCE" primary skill. Changes to experience are now applied through separate netpack
This commit is contained in:
@@ -193,6 +193,7 @@ public:
|
||||
bool canLearnSkill() const;
|
||||
bool canLearnSkill(const SecondarySkill & which) const;
|
||||
|
||||
void setExperience(si64 value, ChangeValueMode mode);
|
||||
void setPrimarySkill(PrimarySkill primarySkill, si64 value, ChangeValueMode mode);
|
||||
void setSecSkillLevel(const SecondarySkill & which, int val, ChangeValueMode mode); // abs == 0 - changes by value; 1 - sets to value
|
||||
void levelUp();
|
||||
|
||||
Reference in New Issue
Block a user