- Joined
- Feb 10, 2009
- Messages
- 344
- Reaction score
- 68
I made an effort to script the trash npcs using EventAI in the new instance The Ruby Scantum.
Code:
/*
-------------------------------------
--- The Ruby Sanctum Scripts
-------------------------------------
*/
/*---- Charscale Invoker*/
DELETE FROM creature_ai_scripts WHERE creature_id=40417;
UPDATE creature_template SET AIName='EventAI' WHERE entry=40417;
UPDATE creature_template SET ScriptName='' WHERE entry=40417;
INSERT INTO creature_ai_scripts VALUES (NULL, '40417', '0', '0', '100', '3', '28000', '39000', '29000', '37000', '11', '75412', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Invoker - DTDB scirpts');
INSERT INTO creature_ai_scripts VALUES (NULL, '40417', '0', '0', '100', '5', '28000', '39000', '29000', '37000', '11', '75419', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Invoker - DTDB scirpts');
INSERT INTO creature_ai_scripts VALUES (NULL, '40417', '0', '0', '100', '7', '15000', '15000', '15000', '15000', '11', '75413', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Invoker - DTDB scirpts');
/*---- Charscale Assaulter*/
DELETE FROM creature_ai_scripts WHERE creature_id=40419;
UPDATE creature_template SET AIName='EventAI' WHERE entry=40419;
UPDATE creature_template SET ScriptName='' WHERE entry=40419;
INSERT INTO creature_ai_scripts VALUES (NULL, '40419', '0', '0', '100', '7', '15000', '15000', '15000', '15000', '11', '15284', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Charscale Assaulter - DTDB Scripts');
INSERT INTO creature_ai_scripts VALUES (NULL, '40419', '0', '0', '100', '3', '30000', '30000', '30000', '30000', '11', '75417', '1', '4', '39', '200', '0', '0', '0', '0', '0', '0', 'Charscale Assaulter - DTDB Scripts');
INSERT INTO creature_ai_scripts VALUES (NULL, '40419', '0', '0', '100', '5', '20000', '20000', '30000', '30000', '11', '75418', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Charscale Assaulter - DTDB Scripts');
/*---- Onyx Flamecaller*/
DELETE FROM creature_ai_scripts WHERE creature_id=39814;
UPDATE creature_template SET AIName='EventAI' WHERE entry=39814;
UPDATE creature_template SET ScriptName='' WHERE entry=39814;
INSERT INTO creature_ai_scripts VALUES (NULL, '39814', '0', '0', '100', '3', '20000', '20000', '30000', '30000', '11', '74392', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Flamecaller - DTDB Scripts');
INSERT INTO creature_ai_scripts VALUES (NULL, '39814', '0', '0', '100', '3', '26000', '26000', '26000', '26000', '11', '74394', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Flamecaller - DTDB Scripts');
INSERT INTO creature_ai_scripts VALUES (NULL, '39814', '0', '0', '100', '5', '26000', '26000', '26000', '26000', '11', '74395', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Flamecaller - DTDB Scripts');
INSERT INTO creature_ai_scripts VALUES (NULL, '39814', '0', '0', '100', '5', '28000', '28000', '29000', '29000', '11', '74393', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Flamecaller - DTDB Scripts');
/*---- Charscale Commander*/
DELETE FROM creature_ai_scripts WHERE creature_id=40423;
UPDATE creature_template SET AIName='EventAI' WHERE entry=40423;
UPDATE creature_template SET ScriptName='' WHERE entry=40423;
INSERT INTO creature_ai_scripts VALUES (NULL, '40423', '0', '0', '100', '7', '18000', '18000', '18000', '18000', '11', '13737', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Commander - DTDB Scripts');
INSERT INTO creature_ai_scripts VALUES (NULL, '40423', '0', '0', '100', '7', '5000', '5000', '30000', '30000', '11', '75414', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Commander - DTDB Scripts');
/*---- Charscale Elite*/
INSERT INTO creature_ai_scripts VALUES (NULL, '40421', '0', '0', '100', '7', '5000', '5000', '15000', '15000', '11', '15621', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Elite - DTDB Scripts');