mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
TriggerHandler: game.getCardState does not work for transformed cards if they does leave the battlefield
This commit is contained in:
@@ -479,7 +479,11 @@ public class TriggerHandler {
|
|||||||
host = trigCard;
|
host = trigCard;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
host = game.getCardState(regtrig.getHostCard());
|
// get CardState does not work for transformed cards
|
||||||
|
// also its about LKI
|
||||||
|
if (host.isInZone(ZoneType.Battlefield)) {
|
||||||
|
host = game.getCardState(host);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sa = regtrig.getOverridingAbility();
|
sa = regtrig.getOverridingAbility();
|
||||||
|
|||||||
Reference in New Issue
Block a user