示例#1
0
文件: Skill207.cs 项目: leeckey/Card
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.canDoSkill = false;
        card.AddEventListener(BattleEventType.ON_CHECK_IMMUNE, OnCheckImmune);
    }
示例#2
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.canBeMove = false;
        card.AddEventListener(BattleEventType.ON_CHECK_MOVE, OnCheckMove);
    }
示例#3
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);
        skill = SkillFactory.GetSkillByID(param1, card, new int[] { param2 });

        card.AddEventListener(BattleEventType.ON_CARD_PRESENT, OnPresent);
    }
示例#4
0
文件: Skill216.cs 项目: leeckey/Card
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_CARD_PRESENT, OnPresent);
    }
示例#5
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_ATTACK_SUCC, OnAttackSucc);
    }
示例#6
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_AFTER_ATTACK_HURT, OnAfterAttackHurt);
    }
示例#7
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_PRE_ATTACK, OnPreAttack);
    }
示例#8
0
文件: Skill206.cs 项目: leeckey/Card
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_PRE_SKILL_HURT, OnPreSkillHurt);
    }
示例#9
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_CARD_DEAD, OnCardDead);
    }
示例#10
0
    /// <summary>
    /// 增加Buff效果
    /// </summary>
    public virtual void AddBuff(CardFighter card)
    {
        this.card = card;

        card.AddEventListener(BattleEventType.ON_ROUND_END, OnRoundEnd);
    }