PDA

Просмотр полной версии : The Forge of Souls trash EAI


VENOM
01.02.2010, 14:35
i did what i could just finnished.
i just started to learn EventAI so its not the best work.

icecrown Citadel The Forge of Souls trash mob scripts. normal + Heroic spells.


DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36522);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3652251', '36522', '0', '0', '100', '7', '5000', '7000', '10000', '15000', '11', '69088', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soul Horror strike');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3652252', '36522', '0', '0', '100', '25', '5000', '7000', '10000', '15000', '11', '70211', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soul Horror strike Heroic');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36522';

DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36620);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3662051', '36620', '0', '0', '100', '7', '5000', '7000', '10000', '15000', '11', '69066', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Adept Darin Life');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3662052', '36620', '0', '0', '100', '25', '5000', '7000', '10000', '15000', '11', '70213', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Adept Darin Life H.');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3662053', '36620', '0', '0', '100', '31', '1000', '3000', '70000', '100000', '11', '69562', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Adept Raise Dead');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3662054', '36620', '0', '0', '100', '7', '7000', '7000', '8000', '10000', '11', '69068', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Adept Shadow bolt');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3662055', '36620', '0', '0', '100', '25', '7000', '7000', '8000', '10000', '11', '70208', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Adept Shadow bolt H.');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3662056', '36620', '0', '0', '100', '7', '7000', '7000', '8000', '10000', '11', '69564', '0', '34', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Adept Shadow Mend');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3662057', '36620', '0', '0', '100', '25', '7000', '7000', '8000', '10000', '11', '70205', '0', '34', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Adept Shadow Mend H.');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36620';

DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36516);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3651651', '36516', '0', '0', '100', '15', '3000', '4000', '70000', '100000', '11', '69562', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Animator Rais dead');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3651652', '36516', '0', '0', '100', '7', '8000', '10000', '10000', '13000', '11', '69068', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Animator shadow bolt');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3651653', '36516', '0', '0', '100', '25', '8000', '10000', '10000', '13000', '11', '70208', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Animator shadow bolt H.');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3651654', '36516', '0', '0', '100', '31', '7000', '12000', '12000', '15000', '11', '69131', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Animator Soul Sickness');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3651655', '36516', '0', '0', '100', '31', '16000', '16000', '16000', '20000', '11', '69128', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Animator Soul Siphon');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36516';

DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36564);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3656451', '36564', '0', '0', '100', '7', '2000', '3000', '10000', '10000', '11', '69080', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster bone volley');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3656452', '36564', '0', '0', '100', '25', '2000', '3000', '10000', '10000', '11', '70206', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster bone volley H');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3656453', '36564', '0', '0', '100', '31', '6000', '9000', '70000', '100000', '11', '69562', '1', '2', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster Rais Dead');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3656454', '36564', '0', '0', '100', '7', '15000', '15000', '40000', '40000', '11', '69069', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster Shield of Bones');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3656455', '36564', '0', '0', '100', '25', '15000', '15000', '40000', '40000', '11', '70207', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster Shield of Bones H');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36564';

DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36499);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3649951', '36499', '0', '0', '100', '7', '8000', '9000', '30000', '30000', '11', '69060', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster Frost nova');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3649952', '36499', '0', '0', '100', '25', '8000', '9000', '30000', '30000', '11', '70209', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster Frost nova H.');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3649953', '36499', '0', '0', '100', '7', '2000', '9000', '15000', '30000', '11', '69058', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster Shadow lance');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3649954', '36499', '0', '0', '100', '25', '2000', '9000', '15000', '30000', '11', '69058', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Bonecaster Shadow lance H');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36499';

DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36478);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3647851', '36478', '0', '0', '100', '31', '2000', '9000', '20000', '30000', '11', '69056', '0', '35', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Watchman Shroud of runes');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3647852', '36478', '0', '0', '100', '31', '30000', '40000', '60000', '60000', '11', '69053', '0', '35', '0', '0', '0', '0', '0', '0', '0', '0', 'Soulguard Watchman unholy rage');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36478';

DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36666);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3666651', '36666', '0', '0', '100', '31', '7000', '10000', '60000', '60000', '11', '69633', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Spectral Warden Veil of shadow');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3666652', '36666', '0', '0', '100', '7', '3000', '5000', '5000', '16000', '11', '69148', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Spectral Warden Wail of souls');
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3666653', '36666', '0', '0', '100', '25', '3000', '5000', '5000', '16000', '11', '70210', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Spectral Warden Wail of souls H');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36666';


UPDATE `creature_template` set `Scriptname`='' where `entry` in (36666, 36478, 36499, 36564, 36516, 36620, 36522);

Not perfect and not blizzlike. still need some work.

timmit
01.02.2010, 15:00
You lost added
`ScriptName` = ''

VENOM
01.02.2010, 16:59
lol. you ar right. but its new instance.
they do not have any scriptnames yet.

timmit
01.02.2010, 17:42
generic_creature

VENOM
01.02.2010, 18:00
-- Remove All Creature Template Entries That Conflict With ACID
-- ================================================== ==========
UPDATE creature_template SET AIName= '' WHERE AIName= 'EventAI';
UPDATE creature_template SET Scriptname= '' WHERE AIName= 'EventAI';

if anyone used ACID 3.0.2 they deleted all generic_creature scriptnames.

anyway first post updated.

VENOM
04.02.2010, 13:44
Bronjahm <Godfather of Souls>
http://www.wowhead.com/?npc=36497

One boss from Forge of Souls


DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36497);
INSERT INTO `creature_ai_scripts` VALUES
( 3649751, 36497, 4, 0, 100, 30, 0, 0, 0, 0, 1, -364971, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm aggro'),
( 3649752, 36497, 0, 0, 100, 7, 10000, 15000, 15000, 20000, 11, 68793, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm Magic\'s Bane'),
( 3649753, 36497, 0, 0, 100, 25, 10000, 15000, 15000, 20000, 11, 69050, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm Magic\'s Bane H'),
( 3649754, 36497, 0, 0, 100, 25, 2000, 4000, 6000, 10000, 11, 70043, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm Shadow bolt H'),
( 3649755, 36497, 0, 0, 100, 7, 2000, 4000, 6000, 10000, 11, 70043, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm Shadow bolt'),
( 3649756, 36497, 0, 0, 100, 7, 15000, 20000, 20000, 30000, 11, 68839, 1, 0, 1, -364972, 0, 0, 0, 0, 0, 0, 'Bronjahm Corrupt Soul'),
( 3649757, 36497, 0, 0, 100, 25, 15000, 20000, 20000, 30000, 11, 68839, 1, 0, 1, -364972, 0, 0, 0, 0, 0, 0, 'Bronjahm Corrupt Soul H'),
( 3649758, 36497, 0, 0, 100, 31, 15000, 20000, 20000, 30000, 12, 36535, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm summon corrupt'),
( 3649759, 36497, 2, 0, 100, 6, 30, 0, 0, 0, 11, 68872, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm cast Soulstorm'),
( 3649760, 36497, 2, 0, 100, 24, 30, 0, 0, 0, 11, 68872, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm cast Soulstorm H'),
( 3649761, 36497, 2, 0, 100, 7, 100, 30, 10000, 15000, 11, 68950, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm cast Fear'),
( 3649762, 36497, 2, 0, 100, 25, 100, 30, 10000, 15000, 11, 68950, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm cast Fear H'),
( 3649763, 36497, 6, 0, 100, 30, 0, 0, 0, 0, 4, 16598, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Bronjahm death'),
(3649764, 36497, 5, 0, 100, 7, 5000, 6000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -364973, 0, 0, 'Bronjahm Kill player');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36497';
UPDATE `creature_template` set `Scriptname`='' WHERE `entry` = '36497';

DELETE FROM `creature_ai_texts` WHERE `entry` in (-364971, -364972, -364973);
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-364971', 'Finely acceptive audience', '', '', '', '', '', '', '', '', '16595', '1', '0', '0', 'Bronjahm aggro');
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-364972', 'I will sever your soul from your body.', '', '', '', '', '', '', '', '', '16600', '1', '0', '0', 'Bronjahm corrupt soul');
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-364973', 'Another soul to strengthen in the host', '', '', '', '', '', '', '', '', '16597', '1', '0', '0', 'Bronjahm corrupt soul');

DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36535);
INSERT INTO `creature_ai_scripts` VALUES ('3653551', '36535', '11', '0', '100', '7', '0', '0', '0', '0', '3', '7409', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Corrupted Soul Fragment ');
INSERT INTO `creature_ai_scripts` VALUES ('3653552', '36535', '11', '0', '100', '25', '0', '0', '0', '0', '3', '7409', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Corrupted Soul Fragment ');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36535';
UPDATE `creature_template` set `Scriptname`='' WHERE `entry` = '36535';


the npc his summoning displayid is invisible becose mangos isnt supporting such npcs displayes. so i changed it using EventAI.