Sign in to follow this  
Followers 0
Cidragon

[WOD]Jin'Zil's Blessing

2 posts in this topic

Bugtracker link: https://firestorm-servers.com/us/report/see_report/4303

Wowhead link: http://www.wowhead.com/quest=26067/jinzils-blessing

Brought Correction: add SAI to creature, this creature gives kill credit on spell hit

-- set creature smartAI
UPDATE `world`.`creature_template` SET `AIName`='SmartAI' WHERE `entry`='41360';

-- SAI
DELETE FROM `world`.`smart_scripts` WHERE `entry`='41360';
INSERT INTO `world`.`smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `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 
('41360', '0', '0', '0', '8', '0', '100', '0', '78336', '0', '60000', '60000', '33', '41360', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', 'On Spell Hit - Give Quest Credit Jinzils Blessing');

Note: This was tested on Trinitycore 6.x branch. I know this is a shitty implementation but I couldn't start the SAI after the spell finish his cast or in aura/buff activate.

Share this post


Link to post
Share on other sites
-- set creature smartAI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`='41360';

-- SAI
DELETE FROM `smart_scripts` WHERE `entryorguid`='41360';
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`, `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 
('41360', '0', '0', '0', '8', '0', '100', '0', '78336', '0', '60000', '60000', '33', '41360', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', 'On Spell Hit - Give Quest Credit Jinzils Blessing');

Patch Accepted, merged soon on live realms.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0