mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
EffectEffect: add AtEOT, remembering host card
This commit is contained in:
@@ -229,6 +229,10 @@ public class EffectEffect extends SpellAbilityEffect {
|
||||
eff.copyChangedTextFrom(hostCard);
|
||||
}
|
||||
|
||||
if (sa.hasParam("AtEOT")) {
|
||||
registerDelayedTrigger(sa, sa.getParam("AtEOT"), Lists.newArrayList(hostCard));
|
||||
}
|
||||
|
||||
// Duration
|
||||
final String duration = sa.getParam("Duration");
|
||||
if ((duration == null) || !duration.equals("Permanent")) {
|
||||
|
||||
Reference in New Issue
Block a user