From 3b9574af14caf7c1010ef0e9bde50d7244e0855b Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Tue, 5 Oct 2021 16:59:07 -0400 Subject: [PATCH] fix --- common/spdat.cpp | 2 +- common/spdat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/spdat.cpp b/common/spdat.cpp index 839b9bbf2..8721078d7 100644 --- a/common/spdat.cpp +++ b/common/spdat.cpp @@ -1427,7 +1427,7 @@ int GetSpellStatValue(uint32 spell_id, const char* stat_identifier, uint8 slot) else if (id == "descnum") { return spells[spell_id].descnum; } else if (id == "effectdescnum") { return spells[spell_id].effectdescnum; } else if (id == "npc_no_los") { return spells[spell_id].npc_no_los; } - else if (id == "feedbackable") { return spells[spell_id].reflectable; } + else if (id == "feedbackable") { return spells[spell_id].feedbackable; } else if (id == "reflectable") { return spells[spell_id].reflectable; } else if (id == "bonushate") { return spells[spell_id].bonushate; } else if (id == "endurcost") { return spells[spell_id].EndurCost; } diff --git a/common/spdat.h b/common/spdat.h index 42f7f7ed0..81f068fec 100644 --- a/common/spdat.h +++ b/common/spdat.h @@ -842,7 +842,7 @@ typedef enum { #define SE_DispelDetrimental 154 // implemented #define SE_SpellCritDmgIncrease 155 // implemented - no known live spells use this currently #define SE_IllusionCopy 156 // implemented - Deception -#define SE_SpellDamageShield 157 // implemented - Petrad's Protection +#define SE_SpellDamageShield 157 // implemented, @DS, causes non-melee damage on caster of a spell, base: Amt DS (negative), limit: none, max: unknown (same as base but +) #define SE_Reflect 158 // implemented #define SE_AllStats 159 // implemented //#define SE_MakeDrunk 160 // *not implemented - Effect works entirely client side (Should check against tolerance)