mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +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);
|
eff.copyChangedTextFrom(hostCard);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sa.hasParam("AtEOT")) {
|
||||||
|
registerDelayedTrigger(sa, sa.getParam("AtEOT"), Lists.newArrayList(hostCard));
|
||||||
|
}
|
||||||
|
|
||||||
// Duration
|
// Duration
|
||||||
final String duration = sa.getParam("Duration");
|
final String duration = sa.getParam("Duration");
|
||||||
if ((duration == null) || !duration.equals("Permanent")) {
|
if ((duration == null) || !duration.equals("Permanent")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user