mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
DiscardEffect.java add "RememberDiscardingPlayers" param
This commit is contained in:
@@ -349,6 +349,9 @@ public class DiscardEffect extends SpellAbilityEffect {
|
||||
runParams.put(AbilityKey.Cause, sa);
|
||||
runParams.put(AbilityKey.FirstTime, firstDiscard);
|
||||
game.getTriggerHandler().runTrigger(TriggerType.DiscardedAll, runParams, false);
|
||||
if (sa.hasParam("RememberDiscardingPlayers")) {
|
||||
source.addRemembered(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user