mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Bug] Escape should put player into SOS if owned. (#4388)
When you escape if you have the Shroud of Stealth bonus (AA, Spell, item) you will go straight into SOS mode.
This commit is contained in:
parent
b1aa087b9f
commit
1aa8758b0a
@ -2329,6 +2329,12 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
|
||||
if (IsClient()) {
|
||||
int pre_aggro_count = CastToClient()->GetAggroCount();
|
||||
entity_list.RemoveFromTargetsFadingMemories(this, true, max_level);
|
||||
|
||||
if (spellbonuses.ShroudofStealth || aabonuses.ShroudofStealth || itembonuses.ShroudofStealth) {
|
||||
improved_hidden = true;
|
||||
hidden = true;
|
||||
}
|
||||
|
||||
SetInvisible(Invisibility::Invisible);
|
||||
int post_aggro_count = CastToClient()->GetAggroCount();
|
||||
if (RuleB(Spells, UseFadingMemoriesMaxLevel)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user