mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix summoning block by clones.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user