* Reworked some more card movement handling (#4866).

This commit is contained in:
LevelX2 2018-05-26 22:39:20 +02:00
parent 07973c8bc1
commit b28bf51c02
86 changed files with 534 additions and 758 deletions

View file

@ -851,6 +851,9 @@ public class ContinuousEffects implements Serializable {
if (rEffect != null) {
event.getAppliedEffects().add(rEffect.getId());
caught = rEffect.replaceEvent(event, rAbility, game);
if (Duration.OneUse.equals(rEffect.getDuration())) {
rEffect.discard();
}
}
if (caught) { // Event was completely replaced -> stop applying effects to it
break;