diff options
| author | maximius <none@none> | 2009-11-23 14:03:31 -0800 |
|---|---|---|
| committer | maximius <none@none> | 2009-11-23 14:03:31 -0800 |
| commit | 957acfb70863d88cc5d4794211126f8d729418ac (patch) | |
| tree | 59199e0405d825d644e0765a46d8c8fd2918b056 /src | |
| parent | 555037cbd1f77acbed238cd5585aa2b07901a55e (diff) | |
*Slightly lower search radius, some indoor Mageguards are very close to this NPC, causing unintended behavior.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/bindings/scripts/scripts/northrend/dalaran.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/scripts/scripts/northrend/dalaran.cpp b/src/bindings/scripts/scripts/northrend/dalaran.cpp index 2c41e3f5477..e8effd21a4d 100644 --- a/src/bindings/scripts/scripts/northrend/dalaran.cpp +++ b/src/bindings/scripts/scripts/northrend/dalaran.cpp @@ -74,7 +74,7 @@ struct TRINITY_DLL_DECL npc_mageguard_dalaranAI : public Scripted_NoMovementAI { case 29254: if (pPlayer->GetTeam() == HORDE) // Horde unit found in Alliance area - if (Creature *pOutdoorNPC = GetClosestCreatureWithEntry(me, NPC_APPLEBOUGH_A, 35.0f)) + if (Creature *pOutdoorNPC = GetClosestCreatureWithEntry(me, NPC_APPLEBOUGH_A, 32.0f)) { if (me->isInBackInMap(pWho, 12.0f)) // In my line of sight, "outdoors", and behind me DoCast(pWho, SPELL_TRESPASSER_A); // Teleport the Horde unit out @@ -84,7 +84,7 @@ struct TRINITY_DLL_DECL npc_mageguard_dalaranAI : public Scripted_NoMovementAI break; case 29255: if (pPlayer->GetTeam() == ALLIANCE) // Alliance unit found in Horde area - if (Creature *pOutdoorNPC = GetClosestCreatureWithEntry(me, NPC_SWEETBERRY_H, 35.0f)) + if (Creature *pOutdoorNPC = GetClosestCreatureWithEntry(me, NPC_SWEETBERRY_H, 32.0f)) { if (me->isInBackInMap(pWho, 12.0f)) // In my line of sight, "outdoors", and behind me DoCast(pWho, SPELL_TRESPASSER_H); // Teleport the Alliance unit out |
