Core/Spells: Blood Shield will now only proc while Blood Presence is active

This commit is contained in:
Ovahlord
2021-09-23 23:12:18 +02:00
parent cad75cdaf3
commit 032b1ed2cd

View File

@@ -539,7 +539,9 @@ class spell_dk_death_strike_heal : public SpellScript
void HandleBloodShield()
{
Unit* target = GetHitUnit();
if (!target)
// Patch 4.1.0 (2011-04-26): Now only works while in Blood Presence.
if (!target || !target->GetAuraEffect(SPELL_AURA_MOD_BASE_RESISTANCE_PCT, SPELLFAMILY_DEATHKNIGHT, 0x00800000, 0x0, 0x0, target->GetGUID()))
return;
AuraEffect const* bloodShieldAurEff = target->GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, DK_ICON_ID_BLOOD_SHIELD_MASTERY, EFFECT_0);