mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Restriction: fix Bestow with check if it is already animated under lki
This commit is contained in:
@@ -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 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();
|
||||
cp.animateBestow(!cp.isLKI());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user