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