Skip to content

Commit

Permalink
Fix possitive/negative effect for spells 37097 and 50312
Browse files Browse the repository at this point in the history
corrected:
spell:37097 Should have negative effect (players shouldn't be able to remove it)
spell:50312 Should have positive effect (can be casted on friendly unit)
  • Loading branch information
Grz3s authored and Phatcat committed Aug 15, 2016
1 parent 2750392 commit 70e1bb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/SpellMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ bool IsPositiveEffect(SpellEntry const* spellproto, SpellEffectIndex effIndex)
{
case 36897: // Transporter Malfunction (race mutation to horde)
case 36899: // Transporter Malfunction (race mutation to alliance)
case 37097: // Crate Disguise
return false;
}
break;
Expand All @@ -869,6 +870,7 @@ bool IsPositiveEffect(SpellEntry const* spellproto, SpellEffectIndex effIndex)
{
case 802: // Mutate Bug, wrongly negative by target modes
case 38449: // Blessing of the Tides
case 50312: // Unholy Frenzy
return true;
case 36900: // Soul Split: Evil!
case 36901: // Soul Split: Good
Expand Down

0 comments on commit 70e1bb5

Please sign in to comment.