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