From 4a1834f6ac09e23a1e634aeef29cca4a56434df4 Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 29 Jul 2019 14:57:35 -0400 Subject: fix sorfina --- world/map/npc/029-2/sorfina.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/world/map/npc/029-2/sorfina.txt b/world/map/npc/029-2/sorfina.txt index e6f40c1b..35c096b0 100644 --- a/world/map/npc/029-2/sorfina.txt +++ b/world/map/npc/029-2/sorfina.txt @@ -20,6 +20,8 @@ L_Start: mes ""; mes "If you die you may start over by creating a new character."; + if (QL_BEGIN >= 8) goto L_Close; + getitem "Knife", 1; getitem "SlingShot", 1; getitem "SlingBullet", 500; @@ -30,8 +32,25 @@ L_Start: set QL_BEGIN, 8; close; +L_Close: + close; + OnTouch: if (QL_BEGIN > 0) end; goto L_Start; } + +029-2,44,31,0|script|#DoorOutTut1|45,0,0 +{ + if (QL_BEGIN < 4) + goto L_Block; + mapmask getmask(); + warp "029-2", 112, 85; + end; + +L_Block: + message strcharinfo(0), "Sorfina : ##BWait a moment! ##bYou're not ready to leave."; + // FIXME: this should be changed to npctalk with strcharinfo(0) once we increase the view area + end; +} -- cgit v1.2.3-70-g09d2