Пример #1
0
 private void TurnShieldOn()
 {
     hc       = targetEntity.GetComponent <HealthComponent>();
     shieldHp = (int)(hc.MaxHealth * info.Hsmc.percent * powerScale);
     hc.IncreaseMaxHealthBy(shieldHp);
 }