Skip to content

Commit

Permalink
[12831] Fix spell 19714 is buff instead of debuff. May fix also other…
Browse files Browse the repository at this point in the history
… spell that use same aura.

Thank to @kvipka for his help.
  • Loading branch information
Cyberium committed Jan 28, 2015
1 parent ba789f8 commit b0b978d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/game/SpellMgr.cpp
Expand Up @@ -769,6 +769,7 @@ bool IsPositiveEffect(SpellEntry const* spellproto, SpellEffectIndex effIndex)
return false;
break;
case SPELL_AURA_MOD_DAMAGE_TAKEN: // dependent from bas point sign (positive -> negative)
case SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN:
if (spellproto->CalculateSimpleValue(effIndex) < 0)
return true;
// let check by target modes (for Amplify Magic cases/etc)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12830"
#define REVISION_NR "12831"
#endif // __REVISION_NR_H__

0 comments on commit b0b978d

Please sign in to comment.