Example #1
0
 public override void Hitted(AttackValue atkv)
 {
     this.hp -= atkv.attack;
     hited = true;               //被击中
 }
Example #2
0
        public virtual void Hitted(AttackValue atkv)
        {
            float atk = atkv.attack;

            this.hp -= atk;
        }
Example #3
0
 public virtual void Hitted(AttackValue atkv)
 {
     float atk = atkv.attack;
     this.hp -= atk;
 }