mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
Core/DBC Move WorldSafeLocs.dbc storage to DB (#932)
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "BattlefieldMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Player.h"
|
||||
#include "GameGraveyard.h"
|
||||
|
||||
bool IsPrimaryProfessionSkill(uint32 skill)
|
||||
{
|
||||
@@ -6335,10 +6336,10 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
|
||||
|
||||
// Ring of Valor starting Locations
|
||||
WorldSafeLocsEntry const* entry = sWorldSafeLocsStore.LookupEntry(1364);
|
||||
const_cast<WorldSafeLocsEntry*>(entry)->z += 6.0f;
|
||||
entry = sWorldSafeLocsStore.LookupEntry(1365);
|
||||
const_cast<WorldSafeLocsEntry*>(entry)->z += 6.0f;
|
||||
GraveyardStruct const* entry = sGraveyard->GetGraveyard(1364);
|
||||
const_cast<GraveyardStruct*>(entry)->z += 6.0f;
|
||||
entry = sGraveyard->GetGraveyard(1365);
|
||||
const_cast<GraveyardStruct*>(entry)->z += 6.0f;
|
||||
|
||||
LockEntry* key = const_cast<LockEntry*>(sLockStore.LookupEntry(36)); // 3366 Opening, allows to open without proper key
|
||||
key->Type[2] = LOCK_KEY_NONE;
|
||||
|
||||
Reference in New Issue
Block a user