1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00
- damage done by turrets is properly increased by built buldings
This commit is contained in:
Ivan Savenko
2013-07-22 16:23:23 +00:00
parent 13acb58d55
commit a719e03b30
5 changed files with 25 additions and 17 deletions

View File

@ -660,6 +660,7 @@ public:
int dailyIncome() const; //calculates daily income of this town
int spellsAtLevel(int level, bool checkGuild) const; //levels are counted from 1 (1 - 5)
bool armedGarrison() const; //true if town has creatures in garrison or garrisoned hero
int getTownLevel() const;
void removeCapitols (PlayerColor owner) const;
void addHeroToStructureVisitors(const CGHeroInstance *h, si32 structureInstanceID) const; //hero must be visiting or garrisoned in town