Пример #1
0
        public static void UseBuff(SkillData skill)
        {
            Packet packets = new Packet(0x7074);

            packets.AddBYTE(1);
            packets.AddBYTE(4);
            packets.AddDWORD(GetID(skill.ID));
            packets.AddBYTE(1);
            packets.AddDWORD(Character.ObjectID);
            Agent.SendToServer(packets);
        }
Пример #2
0
        public static void CastSkill(uint skillID, uint mobID)
        {
            Packet packet = new Packet(0x7074);

            packet.AddBYTE(0x01);
            packet.AddBYTE(0x04);
            packet.AddDWORD(skillID);
            packet.AddBYTE(0x01);
            packet.AddDWORD(mobID);
            Agent.SendToServer(packet);
        }
Пример #3
0
        public static void SelectMob(uint id)
        {
            Packet packet = new Packet(0x7045);

            packet.AddDWORD(id);
            Agent.SendToServer(packet);
        }
Пример #4
0
        public static void NormalAttack(uint mobID)
        {
            Packet packet = new Packet(0x7074);

            packet.AddBYTE(1);
            packet.AddBYTE(1);
            packet.AddBYTE(1);
            packet.AddDWORD(mobID);
            Agent.SendToServer(packet);
        }