Core/Spells: Envenom (Fix buff duration from master poisoner. aura was being considered negative due to the damage effect. aura should be considered positive)

This commit is contained in:
kandera
2011-12-16 11:04:52 -05:00
parent 86f6d73d6a
commit 7e1c556536
+12
View File
@@ -2304,6 +2304,18 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const
if (Id == 30708)
return false;
break;
case SPELLFAMILY_ROGUE:
// Envenom (buff is positive effect but because of the damage effect its being counted as a negative effect)
switch(Id) {
case 32645:
case 32684:
case 57992:
case 57993:
return true;
default:
break
}
break;
default:
break;
}