diff options
author | Wushin <pasekei@gmail.com> | 2016-10-10 09:14:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 09:14:38 -0500 |
commit | 18d5435dc7eb3c8e25f5056b52af6c4779e54148 (patch) | |
tree | ef5ef82e0c3d55b2fe2ca5a636a7c2df234e246f /world/map/npc/031-1 | |
parent | f6d5ad02168f5a91a8a08ab7f2128e280d55d2cf (diff) | |
parent | 83fcbafd55860e1db99e8b5b37545efd428117e8 (diff) | |
download | serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.tar.gz serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.tar.bz2 serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.tar.xz serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.zip |
Merge pull request #515 from mekolat/angela
patches
Diffstat (limited to 'world/map/npc/031-1')
-rw-r--r-- | world/map/npc/031-1/angelaOutside.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/world/map/npc/031-1/angelaOutside.txt b/world/map/npc/031-1/angelaOutside.txt index 322cbfb0..2ffd0804 100644 --- a/world/map/npc/031-1/angelaOutside.txt +++ b/world/map/npc/031-1/angelaOutside.txt @@ -36,8 +36,6 @@ OnInit: 031-1,79,24,0|script|Angela|195,15,15 { - set @minlevel, 70; - if (QL_CINDY == 3) goto L_Please_Visit_Again; if (QL_CINDY > 1 && QL_CINDY < 5) goto L_Please_Visit; if (QL_CINDY == 1) goto L_Please_Help; @@ -47,7 +45,7 @@ OnInit: next; mes "\"It's terrible, oh my dear child!\""; next; - if (countitem("ConcentrationPotion") > 0 && BaseLevel >= @minlevel && QL_CINDY == 6) + if (countitem("ConcentrationPotion") > 0 && BaseLevel >= .minlevel && QL_CINDY == 6) goto L_Menu_Potion; menu @@ -55,7 +53,7 @@ OnInit: "Leave", L_Close; OnTouch: - if(BaseLevel >= @minlevel && !QL_CINDY) + if(BaseLevel >= .minlevel && QL_CINDY < 1) set QL_CINDY, 5; end; @@ -80,7 +78,7 @@ L_Whining: mes "She is crying and sobbing."; next; mes "It seems she is too upset to tell you anything helpful. If she would just calm down and concentrate a bit..."; - if(BaseLevel >= @minlevel) goto L_GetQuest; + if(BaseLevel >= .minlevel) goto L_GetQuest; goto L_Close; L_GetQuest: @@ -139,6 +137,9 @@ L_Please_Visit_Again: goto L_Close; L_Close: - set @minlevel, 0; close; + +OnInit: + set .minlevel, 70; + end; } |