diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/019-3/guards.txt | 4 | ||||
-rw-r--r-- | npc/023-2/_import.txt | 1 | ||||
-rw-r--r-- | npc/023-2/mk.txt | 42 |
3 files changed, 45 insertions, 2 deletions
diff --git a/npc/019-3/guards.txt b/npc/019-3/guards.txt index 385426ec9..e2a18771f 100644 --- a/npc/019-3/guards.txt +++ b/npc/019-3/guards.txt @@ -19,8 +19,8 @@ .@q2=getq2(Q_NivalisLibday); .@q3=getq3(Q_NivalisLibday); - // Calculate score (You have 3 minutes) - .@score=0; + // 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; diff --git a/npc/023-2/_import.txt b/npc/023-2/_import.txt index 6f6f6f77a..88b53a1d4 100644 --- a/npc/023-2/_import.txt +++ b/npc/023-2/_import.txt @@ -3,3 +3,4 @@ "npc/023-2/_mobs.txt", "npc/023-2/_warps.txt", "npc/023-2/lightbringer.txt", +"npc/023-2/mk.txt", diff --git a/npc/023-2/mk.txt b/npc/023-2/mk.txt new file mode 100644 index 000000000..c3007e185 --- /dev/null +++ b/npc/023-2/mk.txt @@ -0,0 +1,42 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Nivalis Liberation Day + +023-2,121,35,0 script The Monster King#NLib NPC_MONSTERKING,{ + end; + +OnInit: + .sex = G_MALE; + .distance = 5; + +OnHour00: + if (!$NLIB_DAY) { + disablenpc .name$; + end; + } + switch ($NLIB_DAY) { + case 1: + movenpc(.name$, 121, 35, DIR_WEST); break; + case 2: + movenpc(.name$, 105, 37, DIR_NORTH); break; + case 3: + movenpc(.name$, 105, 51, DIR_SOUTH); break; + case 4: + movenpc(.name$, 102, 63, DIR_WEST); break; + case 5: + movenpc(.name$, 81, 59, DIR_EAST); break; + case 6: + movenpc(.name$, 76, 48, DIR_WEST); break; + case 7: + movenpc(.name$, 53, 53, DIR_SOUTH); break; + case 8: + movenpc(.name$, 36, 99, DIR_SOUTH); break; + default: + channelmes("#world", "A bug happened: Monster King # Nivalis Liberation Day - Value Out of Range."); disablenpc .name$; break; + } + + end; +} + |