From 46fa2e589eece845a0e5349db573e5271007de18 Mon Sep 17 00:00:00 2001 From: Aeadoin <109764533+Aeadoin@users.noreply.github.com> Date: Wed, 11 Jan 2023 12:02:46 -0500 Subject: [PATCH] [Bug Fix] Add Complete Heal Spell back to IsCompleteHealSpell Method (#2722) * [Bug Fix] Add Complete Heal Spell back to IsCompleteHealSpell Method * Typo --- common/spdat.cpp | 1 + common/spdat.h | 1 + 2 files changed, 2 insertions(+) diff --git a/common/spdat.cpp b/common/spdat.cpp index 3d8d6186f..43cc191e2 100644 --- a/common/spdat.cpp +++ b/common/spdat.cpp @@ -976,6 +976,7 @@ bool IsCompleteHealSpell(uint16 spell_id) { if ( ( + spell_id == SPELL_COMPLETE_HEAL || IsEffectInSpell(spell_id, SE_CompleteHeal) || IsPercentalHealSpell(spell_id) || GetTriggerSpellID(spell_id, SE_CompleteHeal) diff --git a/common/spdat.h b/common/spdat.h index 89baaadfb..ed180e84f 100644 --- a/common/spdat.h +++ b/common/spdat.h @@ -26,6 +26,7 @@ #define SPELLBOOK_UNKNOWN 0xFFFFFFFF //player profile spells are 32 bit //some spell IDs which will prolly change, but are needed +#define SPELL_COMPLETE_HEAL 13 #define SPELL_LIFEBURN 2755 #define SPELL_LEECH_TOUCH 2766 #define SPELL_LAY_ON_HANDS 87