Add 10% healing reduction to PVP-zones (as per 3.3.x patchnotes)

Fix by Havenard - closes #1565

--HG--
branch : trunk
This commit is contained in:
click
2010-04-22 15:24:30 +02:00
parent b31d567bfd
commit ca2b52af0d
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
INSERT IGNORE INTO spell_area (spell, area, quest_start, quest_start_active, quest_end, aura_spell, racemask, gender, autocast) VALUES
(74411, 3358, 0, 0, 0, 0, 0, 2, 1),(74411, 2597, 0, 0, 0, 0, 0, 2, 1),(74411, 4384, 0, 0, 0, 0, 0, 2, 1),(74411, 3277, 0, 0, 0, 0, 0, 2, 1),
(74411, 3820, 0, 0, 0, 0, 0, 2, 1),(74411, 4710, 0, 0, 0, 0, 0, 2, 1),(74411, 4197, 0, 0, 0, 0, 0, 2, 1),(74410, 4378, 0, 0, 0, 0, 0, 2, 1),
(74410, 4406, 0, 0, 0, 0, 0, 2, 1),(74410, 3968, 0, 0, 0, 0, 0, 2, 1),(74410, 3702, 0, 0, 0, 0, 0, 2, 1),(74410, 3698, 0, 0, 0, 0, 0, 2, 1);

View File

@@ -3810,6 +3810,12 @@ void SpellMgr::LoadSpellCustomAttr()
spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_AREA_ALLY_SRC;
count++;
break;
case 74410: // Arena - Dampening
case 74411: // Battleground - Dampening
spellInfo->EffectApplyAuraName[0] = SPELL_AURA_MOD_HEALING_DONE_PERCENT;
spellInfo->EffectBasePoints[0] = -11; // 1 -11 = -10
count++;
break;
case 31687: // Summon Water Elemental
// 322-330 switch - effect changed to dummy, target entry not changed in client:(
spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_CASTER;