mirror of
https://github.com/cmangos/mangos-classic
synced 2026-08-14 02:23:08 -04:00
Refactor and improve quest "The Tome of Valor"
* Refactor code: - use timers instead of waypoint wait time workaround - simplify code (less duplicates, unneeded variables...) * Add missing text yells, says and emotes * Improve timers * Various improvements like running and emotes in the right places Thanks @Grz3s for his help
This commit is contained in:
parent
4e04827ee2
commit
6eaa6bcdd3
2 changed files with 185 additions and 154 deletions
|
|
@ -949,8 +949,8 @@ INSERT INTO script_texts (entry,content_default,sound,type,language,emote,broadc
|
|||
('-1000292','Cloaking systems online! CLUCK! Engaging cloak for transport to Booty Bay!','0','0','0','0','0','oox SAY_OOX_END'),
|
||||
|
||||
('-1000293','To the house! Stay close to me, no matter what! I have my gun and ammo there!','0','0','7','0','0','stilwell SAY_DS_START'),
|
||||
('-1000294','We showed that one!','0','0','7','0','0','stilwell SAY_DS_DOWN_1'),
|
||||
('-1000295','One more down!','0','0','7','0','0','stilwell SAY_DS_DOWN_2'),
|
||||
('-1000294','We showed that one!','0','0','7','0','0','stilwell SAY_WAVE_DOWN_1'),
|
||||
('-1000295','One more down!','0','0','7','0','0','stilwell SAY_WAVE_DOWN_2'),
|
||||
('-1000296','We''ve done it! We won!','0','0','7','0','0','stilwell SAY_DS_DOWN_3'),
|
||||
('-1000297','Meet me down by the orchard--I just need to put my gun away.','0','0','7','0','0','stilwell SAY_DS_PROLOGUE'),
|
||||
|
||||
|
|
@ -1091,7 +1091,10 @@ INSERT INTO script_texts (entry,content_default,sound,type,language,emote,broadc
|
|||
|
||||
('-1000411','Come, $N. See what the Nightmare brings...','0','4','0','0','0','Twilight Corrupter SAY_TWILIGHT_CORRUPTER_SPAWN'),
|
||||
|
||||
-- REUSE -1000412 TO -1000414
|
||||
('-1000412','Kill her! Take the farm!','0','1','0','0','0','Daphne Stilwell YELL_DEFIAS_START'),
|
||||
('-1000413','You won''t ruin my lands, you scum!','0','1','0','0','0','Daphne Stilwell YELL_DAPHNE_START'),
|
||||
('-1000414','The Light is with us this day!','0','0','0','0','0','Daphne Stilwell SAY_WAVE_DOWN_3'),
|
||||
|
||||
('-1000415','%s, too injured, gives up the chase.','0','2','0','0','0','hendel EMOTE_SURRENDER'),
|
||||
|
||||
('-1000416','Well, I''m not sure how far I''ll make it in this state... I''m feeling kind of faint...','0','0','0','0','0','ringo SAY_RIN_START_1'),
|
||||
|
|
@ -3403,25 +3406,23 @@ INSERT INTO script_waypoint (entry, pathId, pointid, position_x, position_y, pos
|
|||
(5644,0,17,-477.146,1625.69,98.342,0,0,0,''),
|
||||
(5644,0,18,-475.815,1615.81,97.07,0,0,0,''),
|
||||
(5644,0,19,-474.329,1590.01,94.4982,0,0,0,''),
|
||||
(6182,0,1,-11480.7,1545.09,49.8986,0,0,0,''),
|
||||
(6182,0,2,-11466.8,1530.15,50.2636,0,0,0,''),
|
||||
(6182,0,3,-11465.2,1528.34,50.9544,0,0,0,'entrance hut'),
|
||||
(6182,0,4,-11463,1525.24,50.9377,0,0,0,''),
|
||||
(6182,0,5,-11461,1526.61,50.9377,0,5000,0,'pick up rifle'),
|
||||
(6182,0,6,-11463,1525.24,50.9377,0,0,0,''),
|
||||
(6182,0,7,-11465.2,1528.34,50.9544,0,0,0,''),
|
||||
(6182,0,8,-11468.4,1535.08,50.4009,0,15000,0,'hold, prepare for wave1'),
|
||||
(6182,0,9,-11468.4,1535.08,50.4009,0,15000,0,'hold, prepare for wave2'),
|
||||
(6182,0,10,-11468.4,1535.08,50.4009,0,10000,0,'hold, prepare for wave3'),
|
||||
(6182,0,11,-11467.9,1532.46,50.3489,0,0,0,'we are done'),
|
||||
(6182,0,12,-11466.1,1529.86,50.2094,0,0,0,''),
|
||||
(6182,0,1,-11466.8,1530.15,50.2636,0,0,0,'Daphne Stilwell - Quest start'),
|
||||
(6182,0,2,-11465.2,1528.34,50.9544,0,0,0,'Daphne Stilwell - entrance hut'),
|
||||
(6182,0,3,-11463,1525.24,50.9377,0,0,0,''),
|
||||
(6182,0,4,-11461,1526.61,50.9377,0,5000,0,'Daphne Stilwell - pick up rifle'),
|
||||
(6182,0,5,-11463,1525.24,50.9377,0,0,0,''),
|
||||
(6182,0,6,-11465.2,1528.34,50.9544,0,0,0,''),
|
||||
(6182,0,7,-11468.4,1535.08,50.4009,0.9271,500,0,'Daphne Stilwell - pause escort'),
|
||||
(6182,0,8,-11468.4,1535.08,50.4009,0.9271,5000,0,'Daphne Stilwell - pause escort'),
|
||||
(6182,0,9,-11467.9,1532.46,50.3489,0,0,0,'Daphne Stilwell - end of ambush waves'),
|
||||
(6182,0,10,-11466.1,1529.86,50.2094,0,0,0,''),
|
||||
(6182,0,11,-11463,1525.24,50.9377,0,0,0,''),
|
||||
(6182,0,12,-11461,1526.61,50.9377,0,5000,0,'Daphne Stilwell - deliver rifle'),
|
||||
(6182,0,13,-11463,1525.24,50.9377,0,0,0,''),
|
||||
(6182,0,14,-11461,1526.61,50.9377,0,5000,0,'deliver rifle'),
|
||||
(6182,0,15,-11463,1525.24,50.9377,0,0,0,''),
|
||||
(6182,0,16,-11465.2,1528.34,50.9544,0,0,0,''),
|
||||
(6182,0,17,-11470.3,1537.28,50.3785,0,0,0,''),
|
||||
(6182,0,18,-11475.6,1548.68,50.1844,0,0,0,'complete quest'),
|
||||
(6182,0,19,-11482.3,1557.41,48.6245,0,0,0,''),
|
||||
(6182,0,14,-11465.2,1528.34,50.9544,0,0,0,''),
|
||||
(6182,0,15,-11470.3,1537.28,50.3785,0,0,0,''),
|
||||
(6182,0,16,-11475.6,1548.68,50.1844,0,0,0,'Daphne Stilwell - Complete quest'),
|
||||
(6182,0,17,-11482.3,1557.41,48.6245,0,0,0,'Daphne Stilwell - resume movement'),
|
||||
(6575,0,1,1945.81,-431.54,16.36,0,0,0,''),
|
||||
(6575,0,2,1946.21,-436.41,16.36,0,0,0,''),
|
||||
(6575,0,3,1950.01,-444.11,14.63,0,0,0,''),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue