Fix some bard stacking issues (mainly AE DOT)

Please report if it breaks anything (shouldn't)
This commit is contained in:
Michael Cook (mackal)
2018-12-17 00:51:18 -05:00
parent bfe85a2f1b
commit bbbee6e6b2
3 changed files with 19 additions and 0 deletions
+14
View File
@@ -1122,6 +1122,20 @@ bool IsStackableDot(uint16 spell_id)
return IsEffectInSpell(spell_id, SE_CurrentHP) || IsEffectInSpell(spell_id, SE_GravityEffect);
}
bool IsBardOnlyStackEffect(int effect)
{
switch(effect) {
case SE_CurrentMana:
case SE_ManaRegen_v2:
case SE_CurrentHP:
case SE_HealOverTime:
case SE_BardAEDot:
return true;
default:
return false;
}
}
bool IsCastWhileInvis(uint16 spell_id)
{
if (!IsValidSpell(spell_id))