diff --git a/common/spdat.h b/common/spdat.h index 35b38b5e3..0af9cb049 100644 --- a/common/spdat.h +++ b/common/spdat.h @@ -246,7 +246,7 @@ #define MAX_INVISIBILTY_LEVEL 254 -#define NO_ROOT_BREAK 200 +#define NO_ROOT_BREAK_SKILL_ID 200 //Live mechanic where if skill id in a spell is set to 200 it will prevent that spell from having a chance to break roots. //instrument item id's used as song components #define INSTRUMENT_HAND_DRUM 13000 diff --git a/zone/attack.cpp b/zone/attack.cpp index 92105b268..aef192ba9 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -4439,7 +4439,7 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons if (IsValidSpell(spell_id) && !iBuffTic) { //see if root will break - if (IsRooted() && !FromDamageShield && spells[spell_id].skill != NO_ROOT_BREAK) { // neotoyko: only spells cancel root + if (IsRooted() && !FromDamageShield && spells[spell_id].skill != NO_ROOT_BREAK_SKILL_ID) { // neotoyko: only spells cancel root TryRootFadeByDamage(buffslot, attacker); } }