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

[svn] Fix SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY spells, patch provided by QAston.
Fix priest's fear. Is breakable now.

Original author: megamage
Date: 2008-11-03 13:43:36-06:00

Files:
1 modified

Legend:

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

    r151 r155  
    28032803    if (pVictim->GetTypeId()==TYPEID_UNIT && ((Creature*)pVictim)->IsInEvadeMode()) 
    28042804        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; 
    28052809 
    28062810    // Check for immune (use charges)