Core/Maps: Replaced spawnmask with difficulty list
This commit is contained in:
@@ -301,7 +301,7 @@ public:
|
||||
|
||||
Creature* creature = trans->CreateNPCPassenger(guid, &data);
|
||||
|
||||
creature->SaveToDB(trans->GetGOInfo()->moTransport.SpawnMap, UI64LIT(1) << map->GetSpawnMode());
|
||||
creature->SaveToDB(trans->GetGOInfo()->moTransport.SpawnMap, { map->GetDifficultyID() });
|
||||
|
||||
sObjectMgr->AddCreatureToGrid(guid, &data);
|
||||
return true;
|
||||
@@ -312,7 +312,7 @@ public:
|
||||
return false;
|
||||
|
||||
PhasingHandler::InheritPhaseShift(creature, chr);
|
||||
creature->SaveToDB(map->GetId(), UI64LIT(1) << map->GetSpawnMode());
|
||||
creature->SaveToDB(map->GetId(), { map->GetDifficultyID() });
|
||||
|
||||
ObjectGuid::LowType db_guid = creature->GetSpawnId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user