Jump to content

[patch] *_scripts new command


Guest Unik2psc

Recommended Posts

Mangos revision: 10206

Link to patch: http://gist.github.com/489162

Description:

Add options "send mail". There are some quest of this type.

Example - quest DK - http://www.wowhead.com/quest=12711

UPDATE quest_template SET WHERE StartScript = '', CompleteScript = '12711' entry = 12711;

DELETE FROM `quest_end_scripts` WHERE id = `12711`; 
INSERT INTO `quest_end_scripts` VALUES(12711, 0, 20, 1, 3, 27760, 0, 0, 0, 0, 0, 0, 0);

INSERT INTO `mail_template` (`id`, `title`, `text`, `item1`, `item1_count`, `item2`, `item2_count`, `item3`, `item3_count`, `item4`, `item4_count`, `item5`, `item5_count`) VALUES 
(1, 'News From The North', 'attachment below', 39317, 1, 0, 0, 0, 0, 0, 0, 0, 0);

*_scripts type 20:

* @datalong - mail_id

* @datalong2 (3 - CREATURE, 4 - OBJECT)

* @datalogn3 datalong2_guid or entry

Github account: Emtec

It work ;)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use