mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Trap auras should spawn a bit in front
This commit is contained in:
parent
8f66527e02
commit
0d63c8b9ef
@ -758,6 +758,8 @@ void Mob::MakeAura(uint16 spell_id)
|
|||||||
|
|
||||||
auto npc = new Aura(npc_type, this, record);
|
auto npc = new Aura(npc_type, this, record);
|
||||||
npc->SetAuraID(spell_id);
|
npc->SetAuraID(spell_id);
|
||||||
|
if (trap)
|
||||||
|
npc->TryMoveAlong(5.0f, 0.0f, false); // try to place 5 units in front
|
||||||
entity_list.AddNPC(npc, false);
|
entity_list.AddNPC(npc, false);
|
||||||
|
|
||||||
if (trap)
|
if (trap)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user