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

[svn] *Update Kalecgos script.
*Correctly select aura triggered spell target.
*Fix some scripts, should be pGOHello = &
*Fix a bug that some channel spells cannot be interrupted.
*Fix a bug that not-selectable creature cannot be hit by target_entry spells.
*If eventAI cannot find heroic flag and normal flag, enable event as default rather than disable it.

Original author: megamage
Date: 2008-11-15 15:09:22-06:00

Files:
1 modified

Legend:

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

    r236 r239  
    49294929        // unselectable targets skipped in all cases except TARGET_SCRIPT targeting 
    49304930        // in case TARGET_SCRIPT target selected by server always and can't be cheated 
    4931         if( target->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE) && 
     4931        /*if( target->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE) && 
    49324932            m_spellInfo->EffectImplicitTargetA[eff] != TARGET_SCRIPT && 
    49334933            m_spellInfo->EffectImplicitTargetB[eff] != TARGET_SCRIPT ) 
    4934             return false; 
     4934            return false;*/ 
    49354935    } 
    49364936