Merge pull request #843 from Stoabrogga/forlorn_spirit

Fix Forlorn Spirit (part of the "Legend of Stalvan" quest chain)
This commit is contained in:
Barbz
2018-05-13 11:49:04 +02:00
committed by GitHub

View File

@@ -0,0 +1,19 @@
INSERT INTO version_db_world (`sql_rev`) VALUES ('1525370516654001760');
UPDATE `smart_scripts` SET `link` = 3, `target_type` = 21, `target_param1` = 30, `action_param2` = 5000 WHERE `entryorguid` = 2044 AND `id` = 0;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 2044 AND `id` IN (3,4);
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
(2044, 0, 3, 4,
52, 0, 100, 0, 0, 2044, 0, 0,
2, 16, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 'Forlorn Spirit - On Text Over - Set Faction 16'),
(2044, 0, 4, 0,
61, 0, 100, 0, 0, 0, 0, 0,
49, 0, 0, 0, 0, 0, 0,
21, 30, 0, 0, 0, 0, 0, 0, 'Forlorn Spirit - On Text Over - Start Attacking');