mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-15 04:38:33 +00:00
Trap auras should spawn a bit in front
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user