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:
@ -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);
|
||||
|
Reference in New Issue
Block a user