diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-10-23 21:44:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-10-23 21:44:22 -0300 |
commit | a7c45a192268da2601cef47a4cdba987ae2327ca (patch) | |
tree | c5fb5b97db109fe7106496dd96498c475881046b /npc/019-3 | |
download | serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.gz serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.bz2 serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.xz serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.zip |
Initial commit (Moubootaur Legends fork)
Diffstat (limited to 'npc/019-3')
-rw-r--r-- | npc/019-3/_import.txt | 5 | ||||
-rw-r--r-- | npc/019-3/_mobs.txt | 5 | ||||
-rw-r--r-- | npc/019-3/_warps.txt | 3 | ||||
-rw-r--r-- | npc/019-3/guards.txt | 72 |
4 files changed, 85 insertions, 0 deletions
diff --git a/npc/019-3/_import.txt b/npc/019-3/_import.txt new file mode 100644 index 0000000..498f4b8 --- /dev/null +++ b/npc/019-3/_import.txt @@ -0,0 +1,5 @@ +// Map 019-3: Snow Forest +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/019-3/_mobs.txt", +"npc/019-3/_warps.txt", +"npc/019-3/guards.txt", diff --git a/npc/019-3/_mobs.txt b/npc/019-3/_mobs.txt new file mode 100644 index 0000000..15df646 --- /dev/null +++ b/npc/019-3/_mobs.txt @@ -0,0 +1,5 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 019-3: Snow Forest mobs +019-3,88,63,88,63 monster Fluffy 1022,50,100000,30000 +019-3,74,61,55,42 monster Wolvern 1037,35,100000,30000 +019-3,76,46,71,34 monster Santa Slime 1096,40,100000,30000 diff --git a/npc/019-3/_warps.txt b/npc/019-3/_warps.txt new file mode 100644 index 0000000..76a0245 --- /dev/null +++ b/npc/019-3/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 019-3: Snow Forest warps +019-3,58,84,0 warp #019-3_58_84 0,0,023-2,121,37 diff --git a/npc/019-3/guards.txt b/npc/019-3/guards.txt new file mode 100644 index 0000000..3e72118 --- /dev/null +++ b/npc/019-3/guards.txt @@ -0,0 +1,72 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Nivalis Liberation Day NPC + +019-3,128,22,0 script Guard#019-3.1 NPC_GUARD1,{ + if ($NLIB_DAY == 7) + goto L_MK; + mesn; + mesq l("Are you done yet?"); + select + rif(@QNL3, l("Yes")), + l("No"); + if (@menu == 2) + close; + + if ($NLIB_DAY == 7) + cwarp "019-2", 43, 55; + + // Load quest env + // Day, Score, Temporary Time; + .@q1=getq(Q_NivalisLibday); + .@q2=getq2(Q_NivalisLibday); + .@q3=getq3(Q_NivalisLibday); + + // Calculate score (You have 3 minutes. You get a single point for finishing.) + .@score=1; + .@time=gettimetick(2); + .@score+=max(180-(.@time-.@q3), 0)/5; + + // Update Total Score + setq2 Q_NivalisLibday, .@q2+.@score; + .@q2=getq2(Q_NivalisLibday); + // Update Highscores if needed + if (.@q2 > $NLIB_HIGHTIME) { + $NLIB_HIGHTIME=.@q2; + $NLIB_HIGHNAME$=strcharinfo(0); + } + // Close quest again and give you a proper reward + setq1 Q_NivalisLibday, $NLIB_DAY; + Zeny=Zeny+(.@score*15); // max about 450 GP + getexp .@score*BaseLevel*2, .@score; // max about 30 JExp - Estimate Max EXP Ranges: (2400~4500) XP + + // Warp you back + warp "019-2", 43, 55; + closedialog; + close; + +L_MK: + mesn; + mesq l("Good luck hunting down the Monster King."); + close; + +OnBegin: + npctalk l("Begin!"); + end; + +OnAdvise: + npctalk l("You must be where the Monster King is at 18:30 UTC sharply - no delays allowed!"); + end; + +OnInit: + .sex = G_MALE; + .distance = 5; + + if (!$NLIB_DAY) + disablenpc .name$; + end; + +} + |