From 0a249bda4361bd57bd3aa93dbbf24cd9d3852669 Mon Sep 17 00:00:00 2001 From: ariel- Date: Fri, 2 Mar 2018 01:28:51 -0300 Subject: Core/Misc: fix bad dbc data for lock 'Locked ball and chain' Closes #12260 --- src/server/game/Spells/SpellMgr.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index f8a2f8b5ef2..1416dd5c08c 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -4860,6 +4860,9 @@ void SpellMgr::LoadSpellInfoCorrections() if (SummonPropertiesEntry* properties = const_cast(sSummonPropertiesStore.LookupEntry(628))) // Hungry Plaguehound properties->Category = SUMMON_CATEGORY_PET; + if (LockEntry* entry = const_cast(sLockStore.LookupEntry(36))) // 3366 Opening, allows to open without proper key + entry->Type[2] = LOCK_KEY_NONE; + TC_LOG_INFO("server.loading", ">> Loaded SpellInfo corrections in %u ms", GetMSTimeDiffToNow(oldMSTime)); } -- cgit v1.2.3