mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Let's fix the fear pathing flags right away after SE_ImmuneFleeing
This speeds up the response to spells like Call of Challenge Before it would fix the flags the next tick, which makes the spell mostly useless
This commit is contained in:
parent
739b1bfaa3
commit
d0bb3047f0
@ -2529,6 +2529,8 @@ void Mob::ApplySpellsBonuses(uint16 spell_id, uint8 casterlevel, StatBonuses *ne
|
||||
|
||||
case SE_ImmuneFleeing:
|
||||
new_bonus->ImmuneToFlee = true;
|
||||
if (currently_fleeing) // lets update shit now instead of next tick
|
||||
ProcessFlee();
|
||||
break;
|
||||
|
||||
case SE_DelayDeath:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user