Core/Spells: Bloodthirst will now heal for 0.5% of the attacker's max health instead of 5%

ref #342
This commit is contained in:
Ovahlord
2022-03-31 18:44:26 +02:00
parent ea6898483e
commit ce2d275a68

View File

@@ -83,14 +83,6 @@ enum WarriorSpellIcons
WARRIOR_ICON_ID_SINGLE_MINDED_FURY = 4975
};
enum MiscSpells
{
SPELL_PALADIN_BLESSING_OF_SANCTUARY = 20911,
SPELL_PALADIN_GREATER_BLESSING_OF_SANCTUARY = 25899,
SPELL_PRIEST_RENEWED_HOPE = 63944
};
/// Updated 4.3.4
// 23881 - Bloodthirst
class spell_warr_bloodthirst : public SpellScript
@@ -131,7 +123,7 @@ class spell_warr_bloodthirst_heal : public SpellScript
void HandleHeal(SpellEffIndex /*effIndex*/)
{
SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(SPELL_WARRIOR_BLOODTHIRST_DAMAGE);
SetHitHeal(GetCaster()->CountPctFromMaxHealth(spellInfo->Effects[EFFECT_1].CalcValue(GetCaster())) / 100);
SetHitHeal(GetCaster()->CountPctFromMaxHealth(spellInfo->Effects[EFFECT_1].CalcValue(GetCaster())) / 1000);
}
void Register() override