Exemple #1
0
 public AutoNotifyUsagePassiveSkillTrigger(UsageTriggerSkill skill, RelayTrigger innerTrigger)
 {
     AskForConfirmation = null;
     IsAutoNotify       = true;
     Skill        = skill;
     InnerTrigger = innerTrigger;
     base.Owner   = InnerTrigger.Owner;
 }
Exemple #2
0
        public LiuLi()
        {
            var trigger = new RelayTrigger(
                OnPlayerIsCardTarget,
                TriggerCondition.OwnerIsTarget
                );

            Triggers.Add(GameEvent.CardUsageTargetConfirming, trigger);
            IsAutoInvoked = null;
        }
Exemple #3
0
 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;
 }
Exemple #4
0
        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;
        }