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

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

[svn] Fix cloak of shadows. Dispel type should be based on SPELL_DAMAGE_CLASS_MAGIC.
Fix: SPELL_DAMAGE_CLASS_NONE type spells should never miss.

Original author: megamage
Date: 2008-10-21 17:10:05-05:00

Files:
1 modified

Legend:

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

    r81 r93  
    29062906            return SPELL_MISS_NONE; 
    29072907        case SPELL_DAMAGE_CLASS_NONE: 
     2908            return SPELL_MISS_NONE; 
    29082909        case SPELL_DAMAGE_CLASS_MAGIC: 
    29092910            return MagicSpellHitResult(pVictim, spell);