Core/Spells: Fix Vampiric Touch damage at dispel

This commit is contained in:
Lopin
2011-05-12 23:24:05 +07:00
committed by tobmaps
parent 0c0c93e626
commit f8c95075dc
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -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'),
@@ -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)');
@@ -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());
}