aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuras.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index 62dadc8ca2c..894775179e1 100755
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -955,6 +955,20 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
break;
}
break;
+ case SPELLFAMILY_DRUID:
+ if (!caster)
+ break;
+ // Rejuvenation
+ if (GetSpellProto()->SpellFamilyFlags[0] & 0x10 && GetEffect(EFFECT_0))
+ {
+ // Druid T8 Restoration 4P Bonus
+ if (AuraEffect const* aurEff = caster->GetAuraEffect(64760, EFFECT_0))
+ {
+ int32 heal = GetEffect(EFFECT_0)->GetAmount();
+ caster->CastCustomSpell(target, 64801, &heal, NULL, NULL, true, NULL, GetEffect(EFFECT_0));
+ }
+ }
+ break;
case SPELLFAMILY_MAGE:
if (!caster)
break;