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:
@@ -2304,6 +2304,18 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const
|
|||||||
if (Id == 30708)
|
if (Id == 30708)
|
||||||
return false;
|
return false;
|
||||||
break;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user