creating eventAI for this npc was real pain :S there is a spells that core dosnt support. but i found almost same spells but diffrent.
Код:
DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36855);
INSERT IGNORE INTO `creature_ai_scripts` VALUES ('3685551', '36855', '4', '0', '100', '30', '0', '0', '0', '0', '0', '0', '0', '0', '21', '0', '0', '0', '22', '0', '0', '0', 'Lady Deathwhisper Stop moving Phase0');
-- Phase 0 events
INSERT IGNORE INTO `creature_ai_scripts` VALUES
('3685552', '36855', '4', '0', '100', '30', '0', '0', '0', '0', '11', '29880', '0', '0', '1', '-168681', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Yell Mana barrier'),
('3685553', '36855', '0', '0', '100', '31', '19000', '20000', '19000', '20000', '11', '29880', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper mana barrier'),
('3685554', '36855', '0', '0', '100', '3', '2000', '4500', '5000', '5500', '11', '71254', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Shadow bolt 10'),
('3685555', '36855', '0', '0', '100', '9', '2000', '4500', '5000', '5500', '11', '72008', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Shadow bolt 10h'),
('3685556', '36855', '0', '0', '100', '5', '2000', '4500', '5000', '5500', '11', '72008', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Shadow bolt 25'),
('3685557', '36855', '0', '0', '100', '17', '2000', '4500', '6000', '7500', '11', '72504', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Shadow bolt 25H'),
('3685558', '36855', '0', '0', '100', '5', '35000', '40000', '50000', '60000', '11', '63713', '4', '5', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Dominate Mind 25'),
('3685559', '36855', '0', '0', '100', '17', '35000', '40000', '50000', '60000', '11', '63713', '4', '5', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Dominate Mind 25H'),
('3685560', '36855', '0', '0', '100', '3', '25000', '30000', '26000', '35000', '11', '71001', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 10'),
('3685561', '36855', '0', '0', '100', '9', '25000', '30000', '26000', '35000', '11', '71001', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 10h'),
('3685562', '36855', '0', '0', '100', '5', '25000', '30000', '26000', '35000', '11', '72109', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 25'),
('3685563', '36855', '0', '0', '100', '9', '25000', '30000', '26000', '35000', '11', '72109', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 25H'),
('3685564', '36855', '3', '0', '100', '30', '2', '0', '0', '0', '21', '1', '0', '0', '22', '1', '0', '0', '1', '-168686', '0', '0', 'Lady Deathwhisper phase1'),
-- Phase 1 events
('3685565', '36855', '0', '1', '100', '3', '20000', '25000', '30000', '35000', '11', '71420', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Frost bolt 10'),
('3685566', '36855', '0', '1', '100', '5', '20000', '25000', '30000', '35000', '11', '72007', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Frost bolt 10h'),
('3685567', '36855', '0', '1', '100', '9', '20000', '25000', '30000', '35000', '11', '72501', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Frost bolt 25'),
('3685568', '36855', '0', '1', '100', '17', '20000', '25000', '30000', '35000', '11', '72502', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Frost bolt 25h'),
('3685569', '36855', '0', '1', '100', '3', '25000', '30000', '26000', '35000', '11', '71001', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 10'),
('3685570', '36855', '0', '1', '100', '9', '25000', '30000', '26000', '35000', '11', '71001', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 10h'),
('3685571', '36855', '0', '1', '100', '5', '25000', '30000', '26000', '35000', '11', '71001', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 25'),
('3685572', '36855', '0', '1', '100', '9', '25000', '30000', '26000', '35000', '11', '71001', '4', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death and Decay 25H'),
('3685573', '36855', '0', '1', '100', '5', '35000', '40000', '50000', '60000', '11', '25806', '4', '5', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Dominate Mind 25'),
('3685574', '36855', '0', '1', '100', '17', '35000', '40000', '50000', '60000', '11', '63713', '4', '5', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Dominate Mind 25H'),
('3685575', '36855', '0', '1', '100', '30', '60000', '70000', '65000', '70000', '11', '71204', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Touch of Insignificance'),
('3685576', '36855', '6', '1', '100', '30', '0', '0', '0', '0', '1', '-168682', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Death'),
('3685577', '36855', '0', '0', '100', '6', '600000', '600000', '0', '0', '11', '26662', '0', '7', '1', '-168683', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Berserk'),
('3685578', '36855', '0', '0', '100', '24', '600000', '600000', '0', '0', '11', '26662', '0', '7', '1', '-168683', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Berserk H'),
('3685579', '36855', '5', '0', '100', '31', '3000', '5000', '0', '0', '1', '-168684', '-168685', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Lady Deathwhisper Player Kill');
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE `entry` = '36855';
UPDATE `creature_template` set `Scriptname`='' WHERE `entry` = '36855';
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-168681', 'What is this disturbance?! You dare trespass upon this hallowed ground? This shall be your final resting place.', '', '', '', '', '', '', '', '', '16868', '1', '0', '0', 'Lady Deathwhisper aggro');
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-168682', 'All part of the masters plan! Your end is... inevitable!', '', '', '', '', '', '', '', '', '16871', '1', '0', '0', 'Lady Deathwhisper Death');
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-168683', 'This charade has gone on long enough.', '', '', '', '', '', '', '', '', '16872', '1', '0', '0', 'Lady Deathwhisper Berserk');
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-168684', 'Do you yet grasp of the futility of your actions?', '', '', '', '', '', '', '', '', '16869', '1', '0', '0', 'Lady Deathwhisper Player kill1');
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-168685', 'Embrace the darkness... Darkness eternal!', '', '', '', '', '', '', '', '', '16870', '1', '0', '0', 'Lady Deathwhisper Player kill2');
INSERT IGNORE INTO `creature_ai_texts` VALUES ('-168686', 'Enough! I see I must take matters into my own hands!', '', '', '', '', '', '', '', '', '16877', '1', '0', '0', 'Lady Deathwhisper Phace2');
mana barrier that is not working. it should absorb damage and drain her mana insted.
npc using this spell only on 25 player mode. Not working!
i was searching same spells that have same effect and finnly found them.
10 + 10H + 25 + 25H normal + heroic spells working.