public void DuringDetermineWillpower(IDetermineWillpower state) { var attachment = state.Game.GetCardInPlay<IAttachmentInPlay>(source.Id); if (attachment == null || attachment.AttachedTo == null) return; var willpowerful = attachment.AttachedTo.Card as IWillpowerfulCard; if (willpowerful == null) return; if (state.Quester.Card.Id != willpowerful.Id) return; state.Willpower += 2; }
public void DuringDetermineWillpower(IDetermineWillpower state) { var attachment = state.Game.GetCardInPlay <IAttachmentInPlay>(source.Id); if (attachment == null || attachment.AttachedTo == null) { return; } var willpowerful = attachment.AttachedTo.Card as IWillpowerfulCard; if (willpowerful == null) { return; } if (state.Quester.Card.Id != willpowerful.Id) { return; } state.Willpower += 2; }
public virtual void DetermineWillpower(IDetermineWillpower state) { state.Willpower += PrintedWillpower; }