mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Tweak
* handle BIND_EFFECT by bonus type
This commit is contained in:
@ -4482,7 +4482,7 @@ void CGameHandler::stackTurnTrigger(const CStack * st)
|
||||
if (st->alive())
|
||||
{
|
||||
//unbind
|
||||
if (st->getEffect (SpellID::BIND))
|
||||
if(st->hasBonus(Selector::type(Bonus::BIND_EFFECT)))
|
||||
{
|
||||
bool unbind = true;
|
||||
BonusList bl = *(st->getBonuses(Selector::type(Bonus::BIND_EFFECT)));
|
||||
|
Reference in New Issue
Block a user