Core/Spells: Fix T8 4P Restoration Set Bonus
This commit is contained in:
@@ -16913,6 +16913,7 @@ INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`a
|
|||||||
(48438, -1, 0.11505, -1, -1, 'Druid - Wild Growth'),
|
(48438, -1, 0.11505, -1, -1, 'Druid - Wild Growth'),
|
||||||
(5176, 0.5714, -1, -1, -1, 'Druid - Wrath'),
|
(5176, 0.5714, -1, -1, -1, 'Druid - Wrath'),
|
||||||
(70691,0,0,0,0, 'Druid - Rejuvenation T10 4P proc'),
|
(70691,0,0,0,0, 'Druid - Rejuvenation T10 4P proc'),
|
||||||
|
(64801,0.45,0,0,0,'Druid - T8 Restoration 4P Bonus'),
|
||||||
(3044, -1, -1, 0.15, -1, 'Hunter - Arcane Shot'),
|
(3044, -1, -1, 0.15, -1, 'Hunter - Arcane Shot'),
|
||||||
(3674, -1, -1, -1, 0.02, 'Hunter - Black Arrow($RAP*0.1 / number of ticks)'),
|
(3674, -1, -1, -1, 0.02, 'Hunter - Black Arrow($RAP*0.1 / number of ticks)'),
|
||||||
(19306, -1, -1, 0.2, -1, 'Hunter - Counterattack'),
|
(19306, -1, -1, 0.2, -1, 'Hunter - Counterattack'),
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
DELETE FROM `spell_bonus_data` WHERE `entry`=64801;
|
||||||
|
INSERT INTO `spell_bonus_data` VALUES (64801,0.45,0,0,0,'Druid - T8 Restoration 4P Bonus');
|
||||||
@@ -955,6 +955,20 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
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:
|
case SPELLFAMILY_MAGE:
|
||||||
if (!caster)
|
if (!caster)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user