Fix Dire Beast (120679): summoned beasts now attack the hunter target
The spell script spell_hun_dire_beast summoned the zone "Beast" guardian but never ordered it to attack, and the ~108 summon templates had no AIName/ScriptName, so the beasts idled next to the owner instead of engaging the target. Add a dedicated ScriptedAI npc_pet_hun_dire_beast (mirroring npc_pet_hunter_snake_trap, minus the snake-specific level-40 health formula and poison) that, on spawn, attacks the summoner target (owner GetVictim / getAttackerForHelper), and bind it to the 108 inert level-1 friendly "Beast" summon templates via sql/sylvania/dire_beast_ai_20260705.sql. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- Dire Beast (spell 120679 "Bête féroce") — the summoned "Beast" guardians had no AI/ScriptName
|
||||
-- and never engaged the hunter's target (they idled next to the owner).
|
||||
-- Bind them to the new C++ AI npc_pet_hun_dire_beast (added to src/server/scripts/Pet/pet_hunter.cpp),
|
||||
-- which orders the summon to attack the summoner's target on spawn.
|
||||
-- Targets the 108 inert level-1 friendly "Beast" summon templates (one per zone/expansion).
|
||||
-- 2026-07-05
|
||||
UPDATE `creature_template`
|
||||
SET `ScriptName` = 'npc_pet_hun_dire_beast'
|
||||
WHERE `name` = 'Beast'
|
||||
AND `type` = 1
|
||||
AND `faction` = 35
|
||||
AND `minlevel` = 1
|
||||
AND `maxlevel` = 1
|
||||
AND (`AIName` IS NULL OR `AIName` = '')
|
||||
AND (`ScriptName` IS NULL OR `ScriptName` = '');
|
||||
Reference in New Issue
Block a user