diff options
author | robinsch <hello@robinsch.com> | 2023-11-24 11:19:53 +0100 |
---|---|---|
committer | robinsch <hello@robinsch.com> | 2023-11-24 11:19:53 +0100 |
commit | 91148e23e82ce7a70c98c27a49bf8144e27a106c (patch) | |
tree | 754ee6aaba6031d3ffb18bc909916643bb46f742 /Patcher.cpp | |
parent | 02a512fa34cdcdc0c42e63c764731b1a3cf8af22 (diff) |
Added: melee swing on right-click, NPC attack animation when turning, "ghost" attack when NPC evades from combat
Diffstat (limited to 'Patcher.cpp')
-rw-r--r-- | Patcher.cpp | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Patcher.cpp b/Patcher.cpp index c37c631..d0d75d1 100644 --- a/Patcher.cpp +++ b/Patcher.cpp @@ -22,10 +22,29 @@ int main(int argc, char** argv) return 1; } - // replace binary in exe (offset: 0xE94) + // windowed mode to full screen wow_exe.seekp(0xE94); wow_exe << static_cast<char>(0xEB); + // melee swing on right-click + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x2E1C67); + for (size_t i = 0; i < 11; ++i) + wow_exe << static_cast<char>(0x90); + + // NPC attack animation when turning + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x33D7C9); + wow_exe << static_cast<char>(0xEB); + + // "ghost" attack when NPC evades from combat + wow_exe.clear(); + wow_exe.seekg(0); + wow_exe.seekp(0x355BF); + wow_exe << static_cast<char>(0xEB); + std::cout << "World of Warcraft exe has been patched!\n"; return 0; } |