What's new

12919 The Storm King's Vengeance

eyerobot

Gold Supporter
Superior Member
916
2015
24
Location
Barryton Michigan USA
Ok this doesn't work exactly as intended, And i'm not sure that the grab and throw spells work at all.
But it pre spawns a Gymer vehicle, So that when you click the non vehicle Gymer, It won't give you the invalid target error. The reason is because using summon creature or the summon Gymer spell makes you wait anywhere up to five minutes before the Gymer vehicle becomes visible to players, Sometimes never. The drawback is that if you click the wrong Gymer first, You will have to relog to try it again.
THIS IS A WORKAROUND

Code:
-- 12919 The Storm King's Vengeance

-- 55431 Summon Gymer

-- 29647 Gymer
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 29647;

DELETE FROM `smart_scripts` WHERE (`entryorguid`=29647 AND `source_type`=0);
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 
(29647, 0, 0, 1, 62, 0, 100, 0, 9852, 2, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Gymer - On Gossip Option 2 Selected - Close Gossip"),
(29647, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gymer - On Gossip Option 2 Selected - Say Line 0"),
(29647, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 2964700, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gymer - On Gossip Option 2 Selected - Run Script"),
(29647, 0, 4, 0, 1, 0, 100, 0, 10000, 20000, 30000, 40000, 1, 1, 5000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gymer - Out of Combat - Say Line 1");

DELETE FROM `smart_scripts` WHERE (`entryorguid`=2964700 AND `source_type`=9);
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 
(2964700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 85, 55430, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Gymer - On Script - Invoker Cast 'Gymer's Buddy'");

DELETE FROM `creature_text` WHERE `entry`=29647 AND `groupid`=7 AND `id`=7;

DELETE FROM `creature_text` WHERE `entry`=29647 AND `groupid`=0 AND `id`=0;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES (29647, 0, 0, 'FREE!!! Soon you will feel the wrath of the storm king!', 14, 0, 100, 53, 0, 0, 30599, 'Gymer');

-- 29884 Gymer
UPDATE `creature_template` SET `faction_A` = '35', `faction_H` = '35' WHERE `entry` = 29884;

DELETE FROM `creature` WHERE `id`=29884;
INSERT INTO `creature` (`id`, `map`, `zone`, `area`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `walkmode`) VALUES (29884, 571, 0, 0, 1, 1, 26656, 0, 5796.48, -1594.16, 235.111, 2.16421, 90, 0, 0, 11379, 0, 0, 0, 0, 0, 0);
 
Top