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

[svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston.
* Fixed compile warnings in gcc. Patch provided by WarHead?.

Original author: w12x
Date: 2008-10-26 11:50:07-05:00

Files:
1 modified

Legend:

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

    r110 r111  
    28282828    // All positive spells can`t miss 
    28292829    // TODO: client not show miss log for this spells - so need find info for this in dbc and use it! 
    2830     if (IsPositiveSpell(spell->Id)) 
     2830    if (IsPositiveSpell(spell->Id) 
     2831        &&(!IsHostileTo(pVictim)))  //prevent from affecting enemy by "positive" spell 
    28312832        return SPELL_MISS_NONE; 
    28322833