Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Core/Spells: Bloodthirst will now heal for 0.5% of the attacker's max…
Browse files Browse the repository at this point in the history
… health instead of 5%

ref #342
  • Loading branch information
Ovahlord committed Mar 31, 2022
1 parent ea68984 commit ce2d275
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/server/scripts/Spells/spell_warrior.cpp
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ce2d275

Please sign in to comment.