diff options
-rw-r--r-- | db/constants.conf | 5 | ||||
-rw-r--r-- | npc/017-1/stranger.txt | 15 |
2 files changed, 17 insertions, 3 deletions
diff --git a/db/constants.conf b/db/constants.conf index ace7ecbd1..086cf0c5e 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -3865,6 +3865,11 @@ constants_db: { // Composed Variable for optimization HH_REQUISITE: 15 + comment__: "difficulty levels" + EASY: 0 + MEDIUM: 1 + HARD: 2 + comment__: "map masks" MASK_NONE: 1 MASK_MATTACK: 2 diff --git a/npc/017-1/stranger.txt b/npc/017-1/stranger.txt index c978bc067..107eeee61 100644 --- a/npc/017-1/stranger.txt +++ b/npc/017-1/stranger.txt @@ -74,13 +74,22 @@ L_Quizz: goto L_Easy; L_Easy: - goto L_Medium; + if (0171_Stranger_BlackBox(EASY)) + goto L_Medium; + else + goto L_Fail; L_Medium: - goto L_Hard; + if (0171_Stranger_BlackBox(MEDIUM)) + goto L_Hard; + else + goto L_Fail; L_Hard: - goto L_Reward; + if (0171_Stranger_BlackBox(HARD)) + goto L_Reward; + else + goto L_Fail; // Failure |