Exemple #1
0
        internal static void TargetByScript(TargetInfo info)
        {
            if (m_Intercept)
            {
                OneTimeResponse(info);
            }
            else if (m_HasTarget)
            {
                info.TargID      = m_CurrentID;
                m_LastGroundTarg = m_LastTarget = info;
                ClientCommunication.SendToServerWait(new TargetResponse(info));
            }

            CancelClientTargetByScript();
            m_HasTarget = false;
        }
Exemple #2
0
 internal void OnCastByScript(Packet p)
 {
     Cast();
     ClientCommunication.SendToServerWait(p);
 }