public override void Damage(WeaponSystem.HP damage) { hp -= damage; if (!Armor.isShieldBroken && hp.ShieldHP <= 0) { ShieldBreak(); } if (hp.PhysicHP <= 0) { Die(); } }
protected virtual void Start() { hp = new GameSystem.WeaponSystem.HP(Armor.maxPhysicHP, Armor.maxSheildHP); }
public abstract void Damage(GameSystem.WeaponSystem.HP damage);