[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:
1 parent
e22427d4b0
commit
43436c8f30
7 files changed
+542
-767
No files matched your search
@@ -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