1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00

- Compile fix

- Fixed Basilisk spawning at Hive
- Fixed double-shot of Marksman
This commit is contained in:
DjWarmonger
2013-02-11 17:23:55 +00:00
parent 6ff7d61b91
commit b554af25d3
4 changed files with 11 additions and 2 deletions

View File

@ -883,6 +883,8 @@ void CStack::postInit()
assert(type);
assert(getParentNodes().size());
//FIXME: the following should take into account ONLY_ENEMY_ARMY bonus range
firstHPleft = MaxHealth();
shots = getCreature()->valOfBonuses(Bonus::SHOTS);
counterAttacks = 1 + valOfBonuses(Bonus::ADDITIONAL_RETALIATION);