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

[svn] Remove unused script event functions HealBy? and DamageDeal?. Add new function SpellHitTarget?.
Fix a bug in r57_trinity.sql.

Original author: megamage
Date: 2008-10-18 11:50:02-05:00

Files:
1 modified

Legend:

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

    r53 r55  
    945945            ((Creature*)unit)->AI()->SpellHit(m_caster ,m_spellInfo); 
    946946    } 
     947 
     948    if(m_caster->GetTypeId() == TYPEID_UNIT && ((Creature*)m_caster)->AI()) 
     949        ((Creature*)m_caster)->AI()->SpellHitTarget(unit, m_spellInfo); 
    947950} 
    948951