mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 03:11:28 +00:00
Fix to allow regular runes to absorn spell damage (except dots).
This commit is contained in:
parent
ad116af59d
commit
8ff4e59d20
@ -3316,6 +3316,9 @@ int32 Mob::AffectMagicalDamage(int32 damage, uint16 spell_id, const bool iBuffTi
|
|||||||
if(damage < 1)
|
if(damage < 1)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
//Regular runes absorb spell damage (except dots) - Confirmed on live.
|
||||||
|
if (spellbonuses.MeleeRune[0] && spellbonuses.MeleeRune[1] >= 0)
|
||||||
|
damage = RuneAbsorb(damage, SE_Rune);
|
||||||
|
|
||||||
if (spellbonuses.AbsorbMagicAtt[0] && spellbonuses.AbsorbMagicAtt[1] >= 0)
|
if (spellbonuses.AbsorbMagicAtt[0] && spellbonuses.AbsorbMagicAtt[1] >= 0)
|
||||||
damage = RuneAbsorb(damage, SE_AbsorbMagicAtt);
|
damage = RuneAbsorb(damage, SE_AbsorbMagicAtt);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user