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/Unit.cpp

    r236 r239  
    498498    // interrupt channeled spell 
    499499    if(Spell* spell = m_currentSpells[CURRENT_CHANNELED_SPELL]) 
    500         if(spell->getState() == SPELL_STATE_CASTING && (spell->m_spellInfo->AuraInterruptFlags & flag)) 
     500        if(spell->getState() == SPELL_STATE_CASTING && (spell->m_spellInfo->ChannelInterruptFlags & flag)) 
    501501            InterruptNonMeleeSpells(false); 
    502502} 
     
    512512    if(Spell* spell = m_currentSpells[CURRENT_CHANNELED_SPELL]) 
    513513        if(spell->getState() == SPELL_STATE_CASTING) 
    514             m_interruptMask |= spell->m_spellInfo->AuraInterruptFlags; 
     514            m_interruptMask |= spell->m_spellInfo->ChannelInterruptFlags; 
    515515} 
    516516