Example #1
0
    void SendTurnParameters()
    {
        BaseClass attacker   = playerChoise.Attacker;
        uint      attackerId = attacker.ServerID;
        int       skillId    = attacker.GetIDFromSkill(playerChoise.ChosenAttack);
        uint      targetId   = 172;

        if (playerChoise.Target != null)
        {
            targetId = playerChoise.Target.ServerID;
        }

        BSM.SetTurnParameters(attackerId, skillId, targetId);
        sendInput = true;
    }