* Kroxa, Titan of Death's Hunger - fixed that it sacrifice itself on escape cast too;

This commit is contained in:
Oleg Agafonov 2020-01-16 23:20:07 +04:00
parent 68e5932d37
commit ef224fe15c

View file

@ -83,8 +83,7 @@ class KroxaTitanOfDeathsHungerEntersEffect extends OneShotEffect {
if (permanent == null) { if (permanent == null) {
return false; return false;
} }
Spell spell = game.getSpellOrLKIStack(source.getSourceId()); if (EscapeAbility.wasCastedWithEscape(game, source.getSourceId(), source.getSourceObjectZoneChangeCounter())) {
if (spell != null && spell.getSpellAbility() instanceof EscapeAbility) {
return false; return false;
} }
return permanent.sacrifice(source.getSourceId(), game); return permanent.sacrifice(source.getSourceId(), game);