1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00
This commit is contained in:
AlexVinS
2016-10-09 13:38:54 +03:00
parent 0857197ff9
commit 4173a5064c
3 changed files with 43 additions and 9 deletions

View File

@@ -157,6 +157,8 @@ public:
int getCurrentLuck(int stack=-1, bool town=false) const;
int getSpellCost(const CSpell *sp) const; //do not use during battles -> bonuses from army would be ignored
bool canLearnSpell(const CSpell * spell) const;
// ----- primary and secondary skill, experience, level handling -----
/// Returns true if hero has lower level than should upon his experience.