示例#1
0
 public Skill217(CardFighter card, SkillData skillData, int[] skillParam) : base(card, skillData, skillParam)
 {
 }
示例#2
0
    public override void RemoveCard(CardFighter card)
    {
        base.RemoveCard(card);

        card.attackSkill = SkillFactory.GetAttackSkill(card);
    }
示例#3
0
 /// <summary>
 /// 获得基础攻击技能
 /// </summary>
 public static BaseSkill GetAttackSkill(CardFighter card)
 {
     return(GetSkillByID(1, card, null));
 }
示例#4
0
    public override void RemoveCard(CardFighter card)
    {
        card.RemoveEventListener(BattleEventType.ON_PRE_ATTACK, OnPreAttackHurt);

        base.RemoveCard(card);
    }
示例#5
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.attackSkill = this;
    }
示例#6
0
文件: Skill210.cs 项目: leeckey/Card
    public override void RemoveCard(CardFighter card)
    {
        card.RemoveEventListener(BattleEventType.ON_AFTER_ATTACK_HURT, OnAfterAttackHurt);

        base.RemoveCard(card);
    }
示例#7
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_PRE_ATTACK_HURT, OnPreAttackHurt);
    }
示例#8
0
文件: Skill213.cs 项目: leeckey/Card
    public override void RemoveCard(CardFighter card)
    {
        card.RemoveEventListener(BattleEventType.ON_ATTACK_SUCC, OnAttackSucc);

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

        card.AddEventListener(BattleEventType.ON_AFTER_ATTACK_HURT, OnAttackSucc);
    }
示例#10
0
文件: BaseBuff.cs 项目: leeckey/Card
    /// <summary>
    /// 增加Buff效果
    /// </summary>
    public virtual void AddBuff(CardFighter card)
    {
        this.card = card;

        card.AddEventListener(BattleEventType.ON_ROUND_END, OnRoundEnd);
    }
示例#11
0
文件: Skill215.cs 项目: leeckey/Card
    public override void RemoveCard(CardFighter card)
    {
        card.RemoveEventListener(BattleEventType.ON_CARD_DEAD, OnCardDead);

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

        card.AddEventListener(BattleEventType.ON_CARD_DEAD, OnCardDead);
    }
示例#13
0
    public override void RemoveCard(CardFighter card)
    {
        card.RemoveEventListener(BattleEventType.ON_PRE_SKILL_HURT, OnPreSkillHurt);

        base.RemoveCard(card);
    }
示例#14
0
    public override void RegisterCard(CardFighter card)
    {
        base.RegisterCard(card);

        card.AddEventListener(BattleEventType.ON_CARD_PRESENT, OnPresent);
    }