mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user