aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLopin <davca.hr@seznam.cz>2011-05-12 23:24:05 +0700
committertobmaps <spambot42@yandex.ru>2011-05-12 23:24:05 +0700
commitf8c95075dc81a2e793ae17bd10bddb6a7daf5655 (patch)
treea6074bcfa65941459b7182de9123a6f2df09b894
parent0c0c93e62635b61ac1bfa6eb11e7c70dad64ca8f (diff)
Core/Spells: Fix Vampiric Touch damage at dispel
-rw-r--r--sql/base/world_database.sql1
-rw-r--r--sql/updates/world/2011_05_12_08_world_spell_bonus_data.sql (renamed from sql/updates/world/2011_05_12_08_world_bonus_data.sql)0
-rw-r--r--sql/updates/world/2011_05_12_09_world_spell_bonus_data.sql3
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuraEffects.cpp2
4 files changed, 5 insertions, 1 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index c0928d9346d..23141e3732e 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -17026,6 +17026,7 @@ INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`a
(34433, 0.65, -1, -1, -1, 'Priest - Shadowfiend'),
(585, 0.714, -1, -1, -1, 'Priest - Smite'),
(34914, -1, 0.4, -1, -1, 'Priest - Vampiric Touch'),
+(64085, 1.2, -1, -1, -1, 'Priest - Vampiric Touch (Dispelled)'),
(7001, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 1'),
(63675, 0, 0, 0, 0, 'Priest - Improved Devouring Plague'),
(56131, 0, 0, 0, 0, 'Priest - Glyph of Dispel Magic'),
diff --git a/sql/updates/world/2011_05_12_08_world_bonus_data.sql b/sql/updates/world/2011_05_12_08_world_spell_bonus_data.sql
index d72932f35b3..d72932f35b3 100644
--- a/sql/updates/world/2011_05_12_08_world_bonus_data.sql
+++ b/sql/updates/world/2011_05_12_08_world_spell_bonus_data.sql
diff --git a/sql/updates/world/2011_05_12_09_world_spell_bonus_data.sql b/sql/updates/world/2011_05_12_09_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..f48f3479388
--- /dev/null
+++ b/sql/updates/world/2011_05_12_09_world_spell_bonus_data.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` = 64085;
+INSERT INTO `spell_bonus_data` VALUES
+(64085,1.2,-1,-1,-1,'Priest - Vampiric Touch (Dispelled)');
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
index fc2a6920c8e..fcfef1f9cfa 100755
--- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp
+++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
@@ -5989,7 +5989,7 @@ void AuraEffect::HandleAuraDummy(AuraApplication const * aurApp, uint8 mode, boo
{
if (AuraEffect const * aurEff = GetBase()->GetEffect(1))
{
- int32 damage = aurEff->GetAmount()*4;
+ int32 damage = aurEff->GetAmount() * 8;
// backfire damage
target->CastCustomSpell(target, 64085, &damage, NULL, NULL, true, NULL, NULL, GetCasterGUID());
}