public void Execute(object active, Hero hero, IBattleAnimationSequence battleAnimationSequence, Action p) { hero.TakeDamage(this, battleAnimationSequence.Sucessful); p?.Invoke(); }
public void Attack(Hero hero) { hero.currentHealth -= armor * agility / 5.0 + baseDamage * strenght / 5.0; currentHealth -= baseDamage * strenght / 20.0; }