[11601] More limited way attempt fix spell 1008 and ranks

This commit is contained in:
VladimirMangos 2011-06-05 15:13:28 +04:00
parent 6833f4c564
commit c5064a73b0
2 changed files with 4 additions and 3 deletions

View file

@ -717,8 +717,9 @@ bool IsPositiveEffect(SpellEntry const *spellproto, SpellEffectIndex effIndex)
return false;
break;
case SPELL_AURA_MOD_DAMAGE_TAKEN: // dependent from bas point sign (positive -> negative)
if(spellproto->CalculateSimpleValue(effIndex) > 0)
return false;
if (spellproto->CalculateSimpleValue(effIndex) < 0)
return true;
// let check by target modes (for Amplify Magic cases/etc)
break;
case SPELL_AURA_MOD_SPELL_CRIT_CHANCE:
case SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11600"
#define REVISION_NR "11601"
#endif // __REVISION_NR_H__