mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[8509] Some absorb shield aura fixes for specific spells.
* Apply expected healing bonus to spell 53601. * Allow stacking spell 62600 and 22842 effects at caster. * Update charges for absorb shield with charges and preopertly expire it at last charge. This fix spell 62600 effect remove at next damage. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
c5684fa7ab
commit
c361b0dc0b
5 changed files with 17 additions and 2 deletions
|
|
@ -1862,6 +1862,8 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
|
|||
|
||||
// Reduce shield amount
|
||||
mod->m_amount-=currentAbsorb;
|
||||
if((*i)->DropAuraCharge())
|
||||
mod->m_amount = 0;
|
||||
// Need remove it later
|
||||
if (mod->m_amount<=0)
|
||||
existExpired = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue