From 0033edbeda681fc569fbddf18923ba9ffec20341 Mon Sep 17 00:00:00 2001 From: Hanmac Date: Sat, 5 May 2018 16:47:48 +0200 Subject: [PATCH] Restriction: fix Bestow with check if it is already animated under lki --- .../spellability/SpellAbilityRestriction.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/forge-game/src/main/java/forge/game/spellability/SpellAbilityRestriction.java b/forge-game/src/main/java/forge/game/spellability/SpellAbilityRestriction.java index 09cdd7671b2..cf5178b491c 100644 --- a/forge-game/src/main/java/forge/game/spellability/SpellAbilityRestriction.java +++ b/forge-game/src/main/java/forge/game/spellability/SpellAbilityRestriction.java @@ -218,16 +218,19 @@ public class SpellAbilityRestriction extends SpellAbilityVariables { // for Bestow need to check the animated State if (sa.isSpell() && sa.hasParam("Bestow")) { // already bestowed or in battlefield, no need to check for spell - if (c.isBestowed() || c.isInZone(ZoneType.Battlefield)) { + if (c.isInZone(ZoneType.Battlefield)) { return false; } - if (!c.isLKI()) { - cp = CardUtil.getLKICopy(c); - } + // if card is lki and bestowed, then do nothing there, it got already animated + if (!(c.isLKI() && c.isBestowed())) { + if (!c.isLKI()) { + cp = CardUtil.getLKICopy(c); + } - if (!cp.isBestowed()) { - cp.animateBestow(); + if (!cp.isBestowed()) { + cp.animateBestow(!cp.isLKI()); + } } }