Update to SE_NegateAttack, 'max' value can now set upper limit of damage absorbed.

DOT ticks will no longer be absorbed.
This commit is contained in:
KayenEQ
2014-06-22 10:30:18 -04:00
parent a4769239fa
commit 8ad9ad578c
4 changed files with 14 additions and 4 deletions
+1
View File
@@ -2294,6 +2294,7 @@ void Mob::ApplySpellsBonuses(uint16 spell_id, uint8 casterlevel, StatBonuses* ne
if (!newbon->NegateAttacks[0]){
newbon->NegateAttacks[0] = 1;
newbon->NegateAttacks[1] = buffslot;
newbon->NegateAttacks[2] = max;
}
break;
}