mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 07:26:36 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user