Пример #1
0
    public override void TakeMagicDamage(float amount, Entity source)
    {
        float damage = DamageCalculator.CalculateMagicDamage(source, this);

        Health -= Mathf.Floor(damage);
    }