mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
- Fixed and simplified Teleport casting
- Stack artifacts will now not be wearable by hero (by default) - Fixed crash involving clone
This commit is contained in:
@ -3075,7 +3075,8 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
|
||||
}
|
||||
|
||||
//second attack
|
||||
if(curStack->valOfBonuses(Bonus::ADDITIONAL_ATTACK) > 0
|
||||
if(curStack //FIXME: clones tend to dissapear during actions
|
||||
&& curStack->valOfBonuses(Bonus::ADDITIONAL_ATTACK) > 0
|
||||
&& !curStack->hasBonusOfType(Bonus::SHOOTER)
|
||||
&& curStack->alive()
|
||||
&& stackAtEnd->alive() )
|
||||
|
Reference in New Issue
Block a user