Пример #1
0
    public void CmdActivateSkill(int id)
    {
        PlayerCombat combat = serverPlayer.GetComponent <PlayerCombat>();

        if (combat.TryLockAction())
        {
            combat.ActivateSkill(id);
            combat.UnlockAction();
        }
    }