Core/DBC Move WorldSafeLocs.dbc storage to DB (#932)

This commit is contained in:
Kargatum
2019-01-08 13:37:31 +07:00
committed by Viste(Кирилл)
parent 3d416de893
commit 1a9f8dfc0c
38 changed files with 1262 additions and 414 deletions

View File

@@ -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;