Show
Ignore:
Timestamp:
11/19/08 13:36:37 (17 years ago)
Author:
yumileroy
Message:

[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).

Original author: megamage
Date: 2008-10-25 10:37:28-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellMgr.cpp

    r102 r108  
    17941794        } 
    17951795 
    1796         bool targetfound = false; 
     1796        /*bool targetfound = false; 
    17971797        for(int i = 0; i <3; ++i) 
    17981798        { 
     
    18101810            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); 
    18111811            continue; 
    1812         } 
     1812        }*/ 
    18131813 
    18141814        if( type >= MAX_SPELL_TARGET_TYPE )