diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-06-10 15:36:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-06-10 15:36:16 -0300 |
commit | 71bff464d4f33a7191768f91eb4d781a591c39bd (patch) | |
tree | e069c3f2cea886207be9c7563f13ef1619d1db2c /npc/029-1 | |
parent | 79f18ea27fe6105a33dfa237b4f65fe2d3465409 (diff) | |
download | serverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.tar.gz serverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.tar.bz2 serverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.tar.xz serverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.zip |
Add double checks and some logic edit to close #39
Previous check (==63) was ugly, and iirc it was only 62 due... stuff.
Diffstat (limited to 'npc/029-1')
-rw-r--r-- | npc/029-1/hideandseek.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/029-1/hideandseek.txt b/npc/029-1/hideandseek.txt index 6cb00b09..878a78b3 100644 --- a/npc/029-1/hideandseek.txt +++ b/npc/029-1/hideandseek.txt @@ -69,8 +69,8 @@ OnInit: .@q=getq2(CandorQuest_HideNSeek); if (.@q > 63) goto L_Done; - if (.@q == 63) goto L_Reward; - if (getq(CandorQuest_HideNSeek)) goto L_Doing; + if (CountHideNSeek() >= 5) goto L_Reward; + if (getq(CandorQuest_HideNSeek) == 1) goto L_Doing; mes l("You see a girl who is holding her hands in front of her face."); mesn; |