public override void Replace(Duel duel, Decision decision) { duel.AwaitingEvents.RemoveAll(x => x.Id == EventToReplace.Id); var newEvent = EventToReplace.Copy() as CardMovedEvent; newEvent.Destination = DuelMastersModels.Zones.ZoneType.ManaZone; duel.AwaitingEvents.Add(newEvent); }
public override void Replace(Duel duel, Decision decision) { if (decision == null) { duel.SetAwaitingChoice(new YesNoChoice(Controller)); } else if ((decision as YesNoDecision).Decision) { duel.AwaitingEvents.RemoveAll(x => x.Id == EventToReplace.Id); var newEvent = EventToReplace.Copy() as CardMovedEvent; newEvent.Destination = DuelMastersModels.Zones.ZoneType.Hand; duel.AwaitingEvents.Add(newEvent); } }