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

[svn] Improve TargetedMovement? (TODO: let mob find "near angle" rather than "random angle").
Delete a repeated check in instance canenter().
Fix some spell targets.
Add some sunwell spell sql.
Fix Magtheridons earthquake. (TODO: need to find out why soul transfer has no effect when casted by mobs)
Let Brutallus dual wield. Enable burn (still no script effect).
Quick fix for shadowmoon valley illidan quest crash (wait for author's fix).

Original author: megamage
Date: 2008-10-31 21:42:00-05:00

Files:
1 modified

Legend:

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

    r140 r141  
    14441444 
    14451445        // area targets 
    1446                 case TARGET_AREAEFFECT_CUSTOM: 
    14471446        case TARGET_ALL_ENEMY_IN_AREA_INSTANT: 
    14481447            if(m_spellInfo->Effect[i] == SPELL_EFFECT_PERSISTENT_AREA_AURA) 
     
    14571456            SearchAreaTarget(TagUnitMap, radius, PUSH_DEST_CENTER, SPELL_TARGETS_FRIENDLY); 
    14581457            break; 
    1459         //case TARGET_AREAEFFECT_CUSTOM: 
    1460         //    m_targets.m_targetMask |= TARGET_FLAG_DEST_LOCATION; 
     1458        case TARGET_AREAEFFECT_CUSTOM: 
     1459            m_targets.m_targetMask |= TARGET_FLAG_DEST_LOCATION; 
    14611460        case TARGET_UNIT_AREA_ENTRY: 
    14621461        { 
     
    14651464            if(lower==upper) 
    14661465            { 
    1467                 sLog.outErrorDb("Spell (ID: %u) has effect EffectImplicitTargetA/EffectImplicitTargetB = TARGET_SCRIPT, but does not have record in `spell_script_target`",m_spellInfo->Id); 
     1466                SearchAreaTarget(TagUnitMap, radius, PUSH_DEST_CENTER, SPELL_TARGETS_AOE_DAMAGE); 
     1467                //sLog.outErrorDb("Spell (ID: %u) has effect EffectImplicitTargetA/EffectImplicitTargetB = TARGET_SCRIPT, but does not have record in `spell_script_target`",m_spellInfo->Id); 
    14681468                break; 
    14691469            }