public AutoNotifyUsagePassiveSkillTrigger(UsageTriggerSkill skill, RelayTrigger innerTrigger) { AskForConfirmation = null; IsAutoNotify = true; Skill = skill; InnerTrigger = innerTrigger; base.Owner = InnerTrigger.Owner; }
public LiuLi() { var trigger = new RelayTrigger( OnPlayerIsCardTarget, TriggerCondition.OwnerIsTarget ); Triggers.Add(GameEvent.CardUsageTargetConfirming, trigger); IsAutoInvoked = null; }
protected AutoNotifyUsagePassiveSkillTrigger(TriggerSkill skill, RelayTrigger innerTrigger, TriggerActionWithCardsAndPlayers execute, ICardUsageVerifier verifier) { AskForConfirmation = false; IsAutoNotify = true; Skill = skill; InnerTrigger = innerTrigger; Execute = execute; Verifier = verifier; base.Owner = InnerTrigger.Owner; }
public XiaoJi2() { var trigger = new RelayTrigger( Run, TriggerCondition.OwnerIsSource ) { }; Triggers.Add(GameEvent.CardsLost, trigger); IsAutoInvoked = null; }
public XiaoJi() { var trigger = new RelayTrigger( Run, TriggerCondition.OwnerIsSource ) { Priority = SkillPriority.XiaoJi }; Triggers.Add(GameEvent.CardsLost, trigger); IsAutoInvoked = true; }