- 916
- 2015
- 24
- Location
- Barryton Michigan USA
This quest drops you in the middle of the lake, Instead of returning you to Forsaken High command.
First I Increased the bats run speed to 2, Then I removed mmaps from him, Because mmaps seemed to causing his waypoints to fail. He would assume that I was at waypoint 21 and despawn, When i wasn't.
I also changed his script command from On waypoint 21 reached - Despawn, To On waypoint 20 completed - Despawn. Which is essentially the same thing, But it works.
I can't do anything about the jerky nature of the bats flight. 46598 Ride Vehicle Hardcoded spell needs a serious overhaul, So that's up to the code devs to improve. It's slightly better on the newest trinitycore, So that's something to look into.
First I Increased the bats run speed to 2, Then I removed mmaps from him, Because mmaps seemed to causing his waypoints to fail. He would assume that I was at waypoint 21 and despawn, When i wasn't.
I also changed his script command from On waypoint 21 reached - Despawn, To On waypoint 20 completed - Despawn. Which is essentially the same thing, But it works.
I can't do anything about the jerky nature of the bats flight. 46598 Ride Vehicle Hardcoded spell needs a serious overhaul, So that's up to the code devs to improve. It's slightly better on the newest trinitycore, So that's something to look into.
Code:
-- 26998 Iterating Upon Success
-- 44821 Forsaken Bat
UPDATE `creature_template` SET `speed_run` = 2, `flags_extra` = 536870912 WHERE `entry` = 44821;
-- New
DELETE FROM `smart_scripts` WHERE (`entryorguid`=44821 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
(44821, 0, 0, 0, 54, 0, 100, 512, 0, 0, 0, 0, 86, 46598, 0, 23, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "Just Summoned - Player Crosscast Ride Vehicle"),
(44821, 0, 1, 0, 60, 0, 100, 513, 1000, 1000, 1000, 1000, 53, 1, 4482100, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Waypoint Start 1 "),
(44821, 0, 2, 0, 27, 0, 100, 512, 0, 0, 0, 0, 33, 44825, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "On Passenger Boarded Give Kill Credit To Player"),
(44821, 0, 3, 0, 40, 0, 100, 512, 3, 4482100, 0, 0, 1, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "Waypoint 3 Say 0"),
(44821, 0, 4, 0, 40, 0, 100, 512, 20, 4482100, 0, 0, 1, 1, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "Waypoint 20 Say 1"),
(44821, 0, 5, 0, 58, 0, 100, 512, 20, 4482100, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On Waypoint Ended - Despawn _Self");