mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
root no break variable update
root no break variable update
This commit is contained in:
parent
359f90a987
commit
d18a30b047
@ -246,7 +246,7 @@
|
|||||||
|
|
||||||
#define MAX_INVISIBILTY_LEVEL 254
|
#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
|
//instrument item id's used as song components
|
||||||
#define INSTRUMENT_HAND_DRUM 13000
|
#define INSTRUMENT_HAND_DRUM 13000
|
||||||
|
|||||||
@ -4439,7 +4439,7 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons
|
|||||||
|
|
||||||
if (IsValidSpell(spell_id) && !iBuffTic) {
|
if (IsValidSpell(spell_id) && !iBuffTic) {
|
||||||
//see if root will break
|
//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);
|
TryRootFadeByDamage(buffslot, attacker);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user