mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Initial version of new bonus caching system
This commit is contained in:
@@ -44,10 +44,6 @@ public:
|
||||
Returns defence of creature or hero.
|
||||
*/
|
||||
virtual int getDefense(bool ranged) const;
|
||||
/**
|
||||
Returns primskill of creature or hero.
|
||||
*/
|
||||
int getPrimSkillLevel(PrimarySkill id) const;
|
||||
/**
|
||||
Returns morale of creature or hero. Taking absolute bonuses into account.
|
||||
For now, uses range from EGameSettings
|
||||
|
||||
Reference in New Issue
Block a user