Beispiel #1
0
    public int BeDamage(int _value)
    {
        int damage = (int)(_value * damageFix);

        BeDamageWithoutFix(damage);

        if (hp < 1)
        {
            battleControl.PauseMove();
        }

        if (isReflect > 0)
        {
            return(damage);
        }
        else
        {
            return(0);
        }
    }