mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
[7980] Implement item use target requirements store and check (new table item_required_target). Author: NoFantasy
Signed-off-by: VladimirMangos <vladimir@getmangos.com> * Also implement this table reload * Static Spell::SendCastResult function for call not from spell code. Can be also used in scripts where need send explicitly spell cast error to client. --HG-- branch : trunk
This commit is contained in:
@@ -1252,6 +1252,9 @@ void World::SetInitialWorldSettings()
|
||||
sLog.outString( "Loading SpellsScriptTarget...");
|
||||
spellmgr.LoadSpellScriptTarget(); // must be after LoadCreatureTemplates and LoadGameobjectInfo
|
||||
|
||||
sLog.outString( "Loading ItemRequiredTarget...");
|
||||
objmgr.LoadItemRequiredTarget();
|
||||
|
||||
sLog.outString( "Loading Creature Reputation OnKill Data..." );
|
||||
objmgr.LoadReputationOnKill();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user