Changeset 155 for trunk/src/game/Unit.cpp
- Timestamp:
- 11/19/08 13:41:24 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Unit.cpp
r151 r155 2803 2803 if (pVictim->GetTypeId()==TYPEID_UNIT && ((Creature*)pVictim)->IsInEvadeMode()) 2804 2804 return SPELL_MISS_EVADE; 2805 2806 // If Spel has this flag cannot be resisted/immuned/etc 2807 if (spell->Attributes & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY) 2808 return SPELL_MISS_NONE; 2805 2809 2806 2810 // Check for immune (use charges)