Flag Explosive Shot as a negative spell effect. Closes #21922. (#22045)

This commit is contained in:
Alan Deutscher
2018-06-22 16:19:02 -07:00
committed by Aokromes
parent 35ba5aa138
commit 81dc5a714b
2 changed files with 6 additions and 0 deletions

View File

@@ -3439,6 +3439,9 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, uint8 effIndex, std::unor
// Aspect of the Viper
if (spellInfo->Id == 34074)
return true;
// Explosive Shot
if (spellInfo->SpellFamilyFlags[1] == SPELLFAMILYFLAG1_HUNTER_EXPLOSIVE_SHOT)
return false;
break;
case SPELLFAMILY_DRUID:
// Starfall

View File

@@ -73,6 +73,9 @@ enum SpellFamilyFlag
// Warlock
SPELLFAMILYFLAG_WARLOCK_LIFETAP = 0x00040000,
// Hunter
SPELLFAMILYFLAG1_HUNTER_EXPLOSIVE_SHOT = 0x80000000,
// Druid
SPELLFAMILYFLAG2_DRUID_STARFALL = 0x00000100,