[Bug Fix] Harm Touch Critical Ratio (#3915)

* [Bug] HT Crit Ratio

This is used to tune and bring HT Crits more in line with the correct values as proven in screenshots.

* requested changes

* mistakenly kept mob::
This commit is contained in:
Fryguy
2024-01-08 23:27:56 -05:00
committed by GitHub
parent ec465616b4
commit e6dc980315
5 changed files with 19 additions and 12 deletions
+7
View File
@@ -769,6 +769,13 @@ bool IsValidSpell(uint32 spell_id)
return false;
}
bool IsHarmTouchSpell(uint16 spell_id)
{
return spell_id == SPELL_HARM_TOUCH ||
spell_id == SPELL_HARM_TOUCH2 ||
spell_id == SPELL_IMP_HARM_TOUCH;
}
// returns the lowest level of any caster which can use the spell
uint8 GetSpellMinimumLevel(uint16 spell_id)
{