Пример #1
0
    private void Hit(Pokemon target)
    {
        if (!GameManager.instance.isServer)
        {
            return;
        }

        target.components.hpPP.AdjCurHP(-40, false);

        Networking.DamageMessage(owner, target, owner.GetComponent <DragonRage>(), 40, false);
    }