mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
feat(Core/Creature): Dual id Spawning WIP (#10115)
* feat(Core/Creature): Multi id Spawning WIP * Update Creature.cpp * Update PR * Add Sql * Update rev_1641837958335217980.sql * Update src/server/game/Globals/ObjectMgr.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update src/server/game/Globals/ObjectMgr.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update rev_1641837958335217980.sql * Update cs_npc.cpp * Create changes_1641842959398297300.md * Fixed issue added with random model PR * Update GameEventMgr.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -670,10 +670,11 @@ public:
|
||||
Field* fields = result->Fetch();
|
||||
ObjectGuid::LowType guid = fields[0].GetUInt32();
|
||||
uint32 entry = fields[1].GetUInt32();
|
||||
float x = fields[2].GetFloat();
|
||||
float y = fields[3].GetFloat();
|
||||
float z = fields[4].GetFloat();
|
||||
uint16 mapId = fields[5].GetUInt16();
|
||||
//uint32 entry2 = fields[2].GetUInt32();
|
||||
float x = fields[3].GetFloat();
|
||||
float y = fields[4].GetFloat();
|
||||
float z = fields[5].GetFloat();
|
||||
uint16 mapId = fields[6].GetUInt16();
|
||||
|
||||
CreatureTemplate const* creatureTemplate = sObjectMgr->GetCreatureTemplate(entry);
|
||||
if (!creatureTemplate)
|
||||
|
||||
Reference in New Issue
Block a user