mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 23:38:00 +00:00
fix(Scripts/Ulduar): Storm Beacons spawn Steelforged Defenders against vehicles (#26380)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1086,7 +1086,7 @@ struct npc_storm_beacon_spawn : public NullCreatureAI
|
||||
if (_checkTimer >= 4000)
|
||||
{
|
||||
_checkTimer = 0;
|
||||
if (Unit* target = me->SelectNearbyTarget(nullptr, 80.0f))
|
||||
if (Unit* target = me->SelectNearestTarget(80.0f))
|
||||
{
|
||||
++_amount;
|
||||
if (Creature* cr = me->SummonCreature(NPC_DEFENDER_GENERATED, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ() + 4, me->GetOrientation(), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 900000))
|
||||
|
||||
Reference in New Issue
Block a user