diff options
author | Brian <runningnak3d@gmail.com> | 2009-12-20 20:23:18 -0700 |
---|---|---|
committer | Brian <runningnak3d@gmail.com> | 2009-12-20 20:23:18 -0700 |
commit | 5300226feebec5bab585819f7cdce214ec14dce9 (patch) | |
tree | d6e55869d4cc010033b5c1e9120b458448505a87 /src/game/QueryHandler.cpp | |
parent | c4ac6323b0bb4eb9f4f1729ce2a63ab1a8ebd523 (diff) |
* Added support for using a lookup table for creature mana / health
* As long as creature level, class, and the proper expansion they are from are
* set in creature_template, you will have 100% accurate health and mana.
* Research and base stats table done by Malcrom -- THANK YOU!
* Original patch by Kudlaty -- THANK YOU!
* Updated and enhanced by Machiavelli - THANK YOU!
* Optimizations by w12x, MrSmite, and XTZGZoReX -- THANK YOU!
* Final code updating for current rev by XTZGZoReX -- THANK YOU!
--HG--
branch : trunk
Diffstat (limited to 'src/game/QueryHandler.cpp')
-rw-r--r-- | src/game/QueryHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/QueryHandler.cpp b/src/game/QueryHandler.cpp index e428b66cee4..4ce59eef384 100644 --- a/src/game/QueryHandler.cpp +++ b/src/game/QueryHandler.cpp @@ -193,8 +193,8 @@ void WorldSession::HandleCreatureQueryOpcode( WorldPacket & recv_data ) data << uint32(ci->Modelid2); // Modelid2 data << uint32(ci->Modelid3); // Modelid3 data << uint32(ci->Modelid4); // Modelid4 - data << float(ci->unk16); // unk - data << float(ci->unk17); // unk + data << float(ci->ModHealth); // dmg/hp modifier + data << float(ci->ModMana); // dmg/mana modifier data << uint8(ci->RacialLeader); for (uint32 i = 0; i < 6; ++i) data << uint32(ci->questItems[i]); // itemId[6], quest drop |