*Add config option CheckDB to check if the contents in FULL folder are applied.
--HG-- branch : trunk
This commit is contained in:
1 parent
cf99758b0b
commit
2d569883e6
8 files changed
+46
No files matched your search
@@ -3626,3 +3626,13 @@ void SpellMgr::LoadSpellLinked()
|
||||
sLog.outString();
|
||||
sLog.outString( ">> Loaded %u linked spells", count );
|
||||
}
|
||||
|
||||
bool SpellMgr::CheckDB() const
|
||||
{
|
||||
SpellScriptTarget::const_iterator lower = GetBeginSpellScriptTarget(30531);
|
||||
SpellScriptTarget::const_iterator upper = GetEndSpellScriptTarget(30531);
|
||||
if(lower == upper || lower->second.targetEntry != 17256)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in new issue
Block a user