[Bug Fix] Add Complete Heal Spell back to IsCompleteHealSpell Method (#2722)

* [Bug Fix] Add Complete Heal Spell back to IsCompleteHealSpell Method

* Typo
This commit is contained in:
Aeadoin 2023-01-11 12:02:46 -05:00 committed by GitHub
parent fc020b7580
commit 46fa2e589e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -976,6 +976,7 @@ bool IsCompleteHealSpell(uint16 spell_id)
{ {
if ( if (
( (
spell_id == SPELL_COMPLETE_HEAL ||
IsEffectInSpell(spell_id, SE_CompleteHeal) || IsEffectInSpell(spell_id, SE_CompleteHeal) ||
IsPercentalHealSpell(spell_id) || IsPercentalHealSpell(spell_id) ||
GetTriggerSpellID(spell_id, SE_CompleteHeal) GetTriggerSpellID(spell_id, SE_CompleteHeal)

View File

@ -26,6 +26,7 @@
#define SPELLBOOK_UNKNOWN 0xFFFFFFFF //player profile spells are 32 bit #define SPELLBOOK_UNKNOWN 0xFFFFFFFF //player profile spells are 32 bit
//some spell IDs which will prolly change, but are needed //some spell IDs which will prolly change, but are needed
#define SPELL_COMPLETE_HEAL 13
#define SPELL_LIFEBURN 2755 #define SPELL_LIFEBURN 2755
#define SPELL_LEECH_TOUCH 2766 #define SPELL_LEECH_TOUCH 2766
#define SPELL_LAY_ON_HANDS 87 #define SPELL_LAY_ON_HANDS 87