mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Combat Commands: - /duel - Challenge target to a duel (CMSG_DUEL_PROPOSED 0x166) - /trade - Open trade window with target (CMSG_INITIATE_TRADE 0x116) - /startattack - Begin auto-attacking target - /stopattack - Stop auto-attacking - /stopcasting - Cancel current spell cast New opcodes: - CMSG_DUEL_PROPOSED (0x166) for initiating duels - CMSG_INITIATE_TRADE (0x116) for starting trades Packet builders: - DuelProposedPacket - sends duel challenge to target GUID - InitiateTradePacket - sends trade request to target GUID - AttackSwingPacket, AttackStopPacket, CancelCastPacket reused from existing Game handler methods: - proposeDuel(targetGuid) - challenge target to duel - initiateTrade(targetGuid) - open trade with target - stopCasting() - cancel current spell cast (uses existing casting state) All commands include validation for target selection and world state. Removed duplicate packet class definitions from previous phases. |
||
|---|---|---|
| .. | ||
| character.hpp | ||
| entity.hpp | ||
| game_handler.hpp | ||
| group_defines.hpp | ||
| inventory.hpp | ||
| npc_manager.hpp | ||
| opcodes.hpp | ||
| player.hpp | ||
| spell_defines.hpp | ||
| world.hpp | ||
| world_packets.hpp | ||
| zone_manager.hpp | ||