Description:
http://www.wowhead.com/npc=21304/warder-corpse
Current behaviour:
The corpse engages in combat with you if you attack. It does not spawn Protean Spawn when you walk near it or if you attack it.
Expected behaviour:
The corpse is supposed to be attackable, but obviously it is not supposed to fight back. When attacked or if you walk near it, it should summon two Protean Spawns.
Branch(es): 3.3.5
TC rev. hash/commit: 7cc074f2a48d
TDB version: 335.63
Operating system: Windows 10
if it wasn't for the obvious incorrectly missing behaviour, it would have been funny. :trollface:
Try this
Spawns/pools from cmangos
UPDATE `creature_template` SET `dynamicflags`=0 WHERE `entry` IN (21303,21304,21592,21623);
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (21303,21304);
UPDATE `creature_template_addon` SET `bytes1`=7, `auras`='31261' WHERE `entry` IN (21303,21304,21592,21623);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (21303,21304) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(21303,0,0,2,4,0,100,7,0,0,0,0,0,11,36593,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defender Corpse - On Aggro - Cast 'Corpse Burst' (No Repeat) (Dungeon)"),
(21303,0,1,2,10,0,100,7,0,5,0,0,0,11,36593,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defender Corpse - Within 0-5 Range Out of Combat LoS - Cast 'Corpse Burst' (No Repeat) (Dungeon)"),
(21303,0,2,0,61,0,100,7,0,0,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Defender Corpse - Link - Kill Self (No Repeat) (Dungeon)"),
(21304,0,0,2,4,0,100,7,0,0,0,0,0,11,36593,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warder Corpse - On Aggro - Cast 'Corpse Burst' (No Repeat) (Dungeon)"),
(21304,0,1,2,10,0,100,7,0,5,0,0,0,11,36593,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warder Corpse - Within 0-5 Range Out of Combat LoS - Cast 'Corpse Burst' (No Repeat) (Dungeon)"),
(21304,0,2,0,61,0,100,7,0,0,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warder Corpse - Link - Kill Self (No Repeat) (Dungeon)");
SET @CGUID := XXX;
SET @PGUID := XXX;
DELETE FROM `creature` WHERE `id` IN (21303,21304);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+43;
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `MovementType`) VALUES
(@CGUID+0, 21303, 552, 3, 197.795, -86.5381, -10.1018, 5.90384, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+1, 21303, 552, 3, 206.342, -98.2784, -10.0262, 2.6529, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+2, 21303, 552, 3, 213.626, -161.424, -10.0346, 2.74017, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+3, 21303, 552, 3, 273.438, -64.07, 22.4534, 22.4534, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+4, 21303, 552, 3, 270.819, -45.4794, 22.4534, 4.46804, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+5, 21303, 552, 3, 226.184, -162.096, -10.0352, 0.349066, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+6, 21303, 552, 3, 245.982, -194.617, -10.0217, 0.872665, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+7, 21303, 552, 3, 285.416, 127.127, 22.2951, 4.69494, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+8, 21303, 552, 3, 253.689, 139.868, 22.4121, 2.30383, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+9, 21303, 552, 3, 253.951, 155.001, 22.3806, 4.93928, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+10, 21303, 552, 3, 298.848, 151.748, 22.3105, 5.70723, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+11, 21303, 552, 3, 306.976, 141.112, 22.2286, 3.0285, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+12, 21303, 552, 3, 272.501, -40.1927, 22.509, 2.9147, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+13, 21303, 552, 3, 232.754, -198.125, -10.023, 5.61996, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+14, 21303, 552, 3, 262.56, -65.5981, 22.4534, 1.50098, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+15, 21303, 552, 3, 312.929, -7.19062, 22.5245, 4.03171, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+16, 21303, 552, 3, 311.119, -5.50369, 22.5245, 1.5708, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+17, 21303, 552, 3, 293.885, 70.9368, 22.5262, 1.55334, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+18, 21303, 552, 3, 291.632, 70.5809, 22.5269, 2.00713, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+19, 21303, 552, 3, 397.07, 25.3331, 48.296, 0.523599, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+20, 21303, 552, 3, 392.004, 18.3857, 48.296, 1.48353, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+21, 21303, 552, 3, 257.344, 155.568, 22.3321, 4.71239, 86400, 0, 0, 0), -- Defender Corpse
(@CGUID+22, 21304, 552, 3, 197.795, -86.5381, -10.1018, 5.90384, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+23, 21304, 552, 3, 206.342, -98.2784, -10.0262, 2.6529, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+24, 21304, 552, 3, 213.626, -161.424, -10.0346, 2.74017, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+25, 21304, 552, 3, 273.438, -64.07, 22.4534, 22.4534, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+26, 21304, 552, 3, 270.819, -45.4794, 22.4534, 4.46804, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+27, 21304, 552, 3, 226.184, -162.096, -10.0352, 0.349066, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+28, 21304, 552, 3, 245.982, -194.617, -10.0217, 0.872665, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+29, 21304, 552, 3, 285.416, 127.127, 22.2951, 4.69494, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+30, 21304, 552, 3, 253.689, 139.868, 22.4121, 2.30383, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+31, 21304, 552, 3, 253.951, 155.001, 22.3806, 4.93928, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+32, 21304, 552, 3, 298.848, 151.748, 22.3105, 5.70723, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+33, 21304, 552, 3, 306.976, 141.112, 22.2286, 3.0285, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+34, 21304, 552, 3, 272.501, -40.1927, 22.509, 2.9147, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+35, 21304, 552, 3, 232.754, -198.125, -10.023, 5.61996, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+36, 21304, 552, 3, 262.56, -65.5981, 22.4534, 1.50098, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+37, 21304, 552, 3, 312.929, -7.19062, 22.5245, 4.03171, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+38, 21304, 552, 3, 311.119, -5.50369, 22.5245, 1.5708, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+39, 21304, 552, 3, 293.885, 70.9368, 22.5262, 1.55334, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+40, 21304, 552, 3, 291.632, 70.5809, 22.5269, 2.00713, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+41, 21304, 552, 3, 397.07, 25.3331, 48.296, 0.523599, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+42, 21304, 552, 3, 392.004, 18.3857, 48.296, 1.48353, 86400, 0, 0, 0), -- Warder Corpse
(@CGUID+43, 21304, 552, 3, 257.344, 155.568, 22.3321, 4.71239, 86400, 0, 0, 0); -- Warder Corpse
DELETE FROM `pool_creature` WHERE `pool_entry` BETWEEN @PGUID+1 AND @PGUID+22;
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@CGUID+0, @PGUID+1, 0, 'Arcatraz - Defender Corpse - Pool 1'),
(@CGUID+22, @PGUID+1, 0, 'Arcatraz - Warder Corpse - Pool 1'),
(@CGUID+1, @PGUID+2, 0, 'Arcatraz - Defender Corpse - Pool 2'),
(@CGUID+23, @PGUID+2, 0, 'Arcatraz - Warder Corpse - Pool 2'),
(@CGUID+2, @PGUID+3, 0, 'Arcatraz - Defender Corpse - Pool 3'),
(@CGUID+24, @PGUID+3, 0, 'Arcatraz - Warder Corpse - Pool 3'),
(@CGUID+3, @PGUID+4, 0, 'Arcatraz - Defender Corpse - Pool 4'),
(@CGUID+25, @PGUID+4, 0, 'Arcatraz - Warder Corpse - Pool 4'),
(@CGUID+4, @PGUID+5, 0, 'Arcatraz - Defender Corpse - Pool 5'),
(@CGUID+26, @PGUID+5, 0, 'Arcatraz - Warder Corpse - Pool 5'),
(@CGUID+5, @PGUID+6, 0, 'Arcatraz - Defender Corpse - Pool 6'),
(@CGUID+27, @PGUID+6, 0, 'Arcatraz - Warder Corpse - Pool 6'),
(@CGUID+6, @PGUID+7, 0, 'Arcatraz - Defender Corpse - Pool 7'),
(@CGUID+28, @PGUID+7, 0, 'Arcatraz - Warder Corpse - Pool 7'),
(@CGUID+7, @PGUID+8, 0, 'Arcatraz - Defender Corpse - Pool 8'),
(@CGUID+29, @PGUID+8, 0, 'Arcatraz - Warder Corpse - Pool 8'),
(@CGUID+8, @PGUID+9, 0, 'Arcatraz - Defender Corpse - Pool 9'),
(@CGUID+30, @PGUID+9, 0, 'Arcatraz - Warder Corpse - Pool 9'),
(@CGUID+9, @PGUID+10, 0, 'Arcatraz - Defender Corpse - Pool 10'),
(@CGUID+31, @PGUID+10, 0, 'Arcatraz - Warder Corpse - Pool 10'),
(@CGUID+10, @PGUID+11, 0, 'Arcatraz - Defender Corpse - Pool 11'),
(@CGUID+32, @PGUID+11, 0, 'Arcatraz - Warder Corpse - Pool 11'),
(@CGUID+11, @PGUID+12, 0, 'Arcatraz - Defender Corpse - Pool 12'),
(@CGUID+33, @PGUID+12, 0, 'Arcatraz - Warder Corpse - Pool 12'),
(@CGUID+12, @PGUID+13, 0, 'Arcatraz - Defender Corpse - Pool 13'),
(@CGUID+34, @PGUID+13, 0, 'Arcatraz - Warder Corpse - Pool 13'),
(@CGUID+13, @PGUID+14, 0, 'Arcatraz - Defender Corpse - Pool 14'),
(@CGUID+35, @PGUID+14, 0, 'Arcatraz - Warder Corpse - Pool 14'),
(@CGUID+14, @PGUID+15, 0, 'Arcatraz - Defender Corpse - Pool 15'),
(@CGUID+36, @PGUID+15, 0, 'Arcatraz - Warder Corpse - Pool 15'),
(@CGUID+15, @PGUID+16, 0, 'Arcatraz - Defender Corpse - Pool 16'),
(@CGUID+37, @PGUID+16, 0, 'Arcatraz - Warder Corpse - Pool 16'),
(@CGUID+16, @PGUID+17, 0, 'Arcatraz - Defender Corpse - Pool 17'),
(@CGUID+38, @PGUID+17, 0, 'Arcatraz - Warder Corpse - Pool 17'),
(@CGUID+17, @PGUID+18, 0, 'Arcatraz - Defender Corpse - Pool 18'),
(@CGUID+39, @PGUID+18, 0, 'Arcatraz - Warder Corpse - Pool 18'),
(@CGUID+18, @PGUID+19, 0, 'Arcatraz - Defender Corpse - Pool 19'),
(@CGUID+40, @PGUID+19, 0, 'Arcatraz - Warder Corpse - Pool 19'),
(@CGUID+19, @PGUID+20, 0, 'Arcatraz - Defender Corpse - Pool 20'),
(@CGUID+41, @PGUID+20, 0, 'Arcatraz - Warder Corpse - Pool 20'),
(@CGUID+20, @PGUID+21, 0, 'Arcatraz - Defender Corpse - Pool 21'),
(@CGUID+42, @PGUID+21, 0, 'Arcatraz - Warder Corpse - Pool 21'),
(@CGUID+21, @PGUID+22, 0, 'Arcatraz - Defender Corpse - Pool 22'),
(@CGUID+43, @PGUID+22, 0, 'Arcatraz - Warder Corpse - Pool 22');
DELETE FROM `pool_pool` WHERE `pool_id` BETWEEN @PGUID+1 AND @PGUID+22;
INSERT INTO `pool_pool` (`pool_id`, `mother_pool`, `chance`, `description`) VALUES
(@PGUID+1, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 1'),
(@PGUID+2, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 2'),
(@PGUID+3, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 3'),
(@PGUID+4, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 4'),
(@PGUID+5, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 5'),
(@PGUID+6, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 6'),
(@PGUID+7, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 7'),
(@PGUID+8, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 8'),
(@PGUID+9, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 9'),
(@PGUID+10, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 10'),
(@PGUID+11, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 11'),
(@PGUID+12, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 12'),
(@PGUID+13, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 13'),
(@PGUID+14, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 14'),
(@PGUID+15, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 15'),
(@PGUID+16, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 16'),
(@PGUID+17, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 17'),
(@PGUID+18, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 18'),
(@PGUID+19, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 19'),
(@PGUID+20, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 20'),
(@PGUID+21, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 21'),
(@PGUID+22, @PGUID+23, 0, 'Arcatraz - Warder/Defender Corpses - Pool 22');
DELETE FROM `pool_template` WHERE `entry` BETWEEN @PGUID+1 AND @PGUID+23;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(@PGUID+1, 1, 'Arcatraz - Warder/Defender Corpses - Pool 1'),
(@PGUID+2, 1, 'Arcatraz - Warder/Defender Corpses - Pool 2'),
(@PGUID+3, 1, 'Arcatraz - Warder/Defender Corpses - Pool 3'),
(@PGUID+4, 1, 'Arcatraz - Warder/Defender Corpses - Pool 4'),
(@PGUID+5, 1, 'Arcatraz - Warder/Defender Corpses - Pool 5'),
(@PGUID+6, 1, 'Arcatraz - Warder/Defender Corpses - Pool 6'),
(@PGUID+7, 1, 'Arcatraz - Warder/Defender Corpses - Pool 7'),
(@PGUID+8, 1, 'Arcatraz - Warder/Defender Corpses - Pool 8'),
(@PGUID+9, 1, 'Arcatraz - Warder/Defender Corpses - Pool 9'),
(@PGUID+10, 1, 'Arcatraz - Warder/Defender Corpses - Pool 10'),
(@PGUID+11, 1, 'Arcatraz - Warder/Defender Corpses - Pool 11'),
(@PGUID+12, 1, 'Arcatraz - Warder/Defender Corpses - Pool 12'),
(@PGUID+13, 1, 'Arcatraz - Warder/Defender Corpses - Pool 13'),
(@PGUID+14, 1, 'Arcatraz - Warder/Defender Corpses - Pool 14'),
(@PGUID+15, 1, 'Arcatraz - Warder/Defender Corpses - Pool 15'),
(@PGUID+16, 1, 'Arcatraz - Warder/Defender Corpses - Pool 16'),
(@PGUID+17, 1, 'Arcatraz - Warder/Defender Corpses - Pool 17'),
(@PGUID+18, 1, 'Arcatraz - Warder/Defender Corpses - Pool 18'),
(@PGUID+19, 1, 'Arcatraz - Warder/Defender Corpses - Pool 19'),
(@PGUID+20, 1, 'Arcatraz - Warder/Defender Corpses - Pool 20'),
(@PGUID+21, 1, 'Arcatraz - Warder/Defender Corpses - Pool 21'),
(@PGUID+22, 1, 'Arcatraz - Warder/Defender Corpses - Pool 22'),
(@PGUID+23, 16, 'Arcatraz - Warder/Defender Corpses - Master Pool');
for sql
~~~sql
UPDATE creature_template
SET AIName
='SmartAI', flags_extra
='0' WHERE entry
IN(21303,21304,21592,21623);
UPDATE creature_template_addon
SET auras
='' WHERE entry
IN(21303,21304);
DELETE FROM smart_scripts
WHERE entryorguid
IN(21303,21304) AND source_type
=0;
INSERT INTO smart_scripts
(entryorguid
, source_type
, id
, link
, event_type
, event_phase_mask
, event_chance
, event_flags
, event_param1
, event_param2
, event_param3
, event_param4
, event_param5
, action_type
, action_param1
, action_param2
, action_param3
, action_param4
, action_param5
, action_param6
, target_type
, target_param1
, target_param2
, target_param3
, target_param4
, target_x
, target_y
, target_z
, target_o
, comment
) VALUES
(21304, 0, 0, 1, 4, 0, 100, 0, 0, 0, 0, 0, 0, 11, 36599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Agro - Cast Spell Bloody Explosion'),
(21304, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 11, 36593, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Agro - Cast Spell Corpse Burst'),
(21304, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 1500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Agro - Despawn'),
(21304, 0, 3, 4, 11, 0, 100, 0, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Spawn - Set React State'),
(21304, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Spawn - Disable Auto Attack'),
(21304, 0, 5, 7, 61, 0, 100, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Spawn - Disable Disable Combat Movement'),
(21304, 0, 6, 0, 9, 0, 100, 0, 0, 10, 5000, 5000, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Range - Start Attack'),
(21304, 0, 7, 8, 61, 0, 100, 0, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Spawn - Set Root'),
(21304, 0, 8, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 18, 33554432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warder Corpse - On Spawn - Set Unit flag'),
(21303, 0, 0, 1, 4, 0, 100, 0, 0, 0, 0, 0, 0, 11, 36599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Agro - Cast Spell Bloody Explosion'),
(21303, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 11, 36593, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Agro - Cast Spell Corpse Burst'),
(21303, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 1500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Agro - Despawn'),
(21303, 0, 3, 4, 11, 0, 100, 0, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Spawn - Set React State'),
(21303, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Spawn - Disable Auto Attack'),
(21303, 0, 5, 7, 61, 0, 100, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Spawn - Disable Disable Combat Movement'),
(21303, 0, 6, 0, 9, 0, 100, 0, 0, 10, 5000, 5000, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Range - Start Attack'),
(21303, 0, 7, 8, 61, 0, 100, 0, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Spawn - Set Root'),
(21303, 0, 8, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 18, 33554432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Defender Corpse - On Spawn - Set Unit flag');
Most helpful comment
if it wasn't for the obvious incorrectly missing behaviour, it would have been funny. :trollface: