Changeset 55 for trunk/src/game/Unit.cpp

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

    r44 r55  
    478478    } 
    479479 
    480     //Script Event damage Deal 
    481     if( GetTypeId()== TYPEID_UNIT && ((Creature *)this)->AI()) 
    482         ((Creature *)this)->AI()->DamageDeal(pVictim, damage); 
    483480    //Script Event damage taken 
    484481    if( pVictim->GetTypeId()== TYPEID_UNIT && ((Creature *)pVictim)->AI() )