Correct the amount of dmg absorbed by Anti-magic shell.tibbi
This commit is contained in:
@@ -113,8 +113,7 @@ class spell_dk_anti_magic_shell_self : public SpellScriptLoader
|
|||||||
|
|
||||||
void CalculateAmount(AuraEffect const* /*aurEff*/, int32 & amount, bool & /*canBeRecalculated*/)
|
void CalculateAmount(AuraEffect const* /*aurEff*/, int32 & amount, bool & /*canBeRecalculated*/)
|
||||||
{
|
{
|
||||||
// Set absorbtion amount to unlimited
|
amount = GetCaster()->CountPctFromMaxHealth(hpPct);
|
||||||
amount = -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Absorb(AuraEffect* /*aurEff*/, DamageInfo & dmgInfo, uint32 & absorbAmount)
|
void Absorb(AuraEffect* /*aurEff*/, DamageInfo & dmgInfo, uint32 & absorbAmount)
|
||||||
|
|||||||
Reference in New Issue
Block a user