mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fix Gorgon Recluse delayed trigger not killing a Persisted creature
This commit is contained in:
@@ -126,8 +126,9 @@ public class AbilityUtils {
|
||||
}
|
||||
else if (defined.startsWith("Triggered") && (sa != null)) {
|
||||
final SpellAbility root = sa.getRootAbility();
|
||||
if (defined.contains("LKICopy")) { //TriggeredCardLKICopy
|
||||
final Object crd = root.getTriggeringObject(defined.substring(9, 13));
|
||||
if (defined.contains("LKICopy")) { //Triggered*LKICopy
|
||||
int lkiPosition = defined.indexOf("LKICopy");
|
||||
final Object crd = root.getTriggeringObject(defined.substring(9, lkiPosition));
|
||||
if (crd instanceof Card) {
|
||||
c = (Card) crd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user