mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
Fix summoning block by clones.
This commit is contained in:
parent
2c48c95c8d
commit
277211e569
@ -645,6 +645,7 @@ ESpellCastProblem::ESpellCastProblem SummonMechanics::canBeCast(const CBattleInf
|
||||
{
|
||||
return (st->attackerOwned == !side)
|
||||
&& (vstd::contains(st->state, EBattleStackState::SUMMONED))
|
||||
&& (!vstd::contains(st->state, EBattleStackState::CLONED))
|
||||
&& (st->getCreature()->idNumber != creatureToSummon);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user