diff options
| author | click <none@none> | 2010-04-22 15:24:30 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-04-22 15:24:30 +0200 |
| commit | ca2b52af0d4ca8d2c2d3615bac2db67778af07e7 (patch) | |
| tree | decfc5a2388e56cb2fc3a3c0babcc08482340585 | |
| parent | b31d567bfd1e9c35a81e071b6aa1d4962ceffb67 (diff) | |
Add 10% healing reduction to PVP-zones (as per 3.3.x patchnotes)
Fix by Havenard - closes #1565
--HG--
branch : trunk
| -rw-r--r-- | sql/updates/7980_world_spell_area.sql | 4 | ||||
| -rw-r--r-- | src/game/SpellMgr.cpp | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/7980_world_spell_area.sql b/sql/updates/7980_world_spell_area.sql new file mode 100644 index 00000000000..cabf39f6d62 --- /dev/null +++ b/sql/updates/7980_world_spell_area.sql @@ -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); diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index b52811ca220..24f08556926 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -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; |
