mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 15:17:27 +01:00
[svn] Continue the work of rewriting spell target selection functions (warning: this may cause some spells broken).
Add some spell_script_target. Delete some workaround in scripts (since core provides spell support now). --HG-- branch : trunk
This commit is contained in:
@@ -1793,7 +1793,7 @@ void SpellMgr::LoadSpellScriptTarget()
|
||||
continue;
|
||||
}
|
||||
|
||||
bool targetfound = false;
|
||||
/*bool targetfound = false;
|
||||
for(int i = 0; i <3; ++i)
|
||||
{
|
||||
if( spellProto->EffectImplicitTargetA[i]==TARGET_SCRIPT ||
|
||||
@@ -1809,7 +1809,7 @@ void SpellMgr::LoadSpellScriptTarget()
|
||||
{
|
||||
sLog.outErrorDb("Table `spell_script_target`: spellId %u listed for TargetEntry %u does not have any implicit target TARGET_SCRIPT(38) or TARGET_SCRIPT_COORDINATES (46).",spellId,targetEntry);
|
||||
continue;
|
||||
}
|
||||
}*/
|
||||
|
||||
if( type >= MAX_SPELL_TARGET_TYPE )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user