From bd50b28eb41ab5f7cd070b0057097288ce725768 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Fri, 15 May 2020 11:46:11 -0300
Subject: Kamelot difficulty selection

---
 npc/042-0/arthur.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt
index e0576053f..96217e4ec 100644
--- a/npc/042-0/arthur.txt
+++ b/npc/042-0/arthur.txt
@@ -88,6 +88,26 @@ L_Quest:
     mes "";
     mes l("1. Investigate Kamelot Basements");
     mes l("2. Free Kamelot from its curse!");
+    next;
+    mesc l("Please select quest difficulty.");
+    mesc l("This will affect rewards, and decision is final!"), 1;
+    select
+        l("Normal"),
+        l("Easy"),
+        l("Hard");
+    mes "";
+    switch (@menu) {
+        case 2: // Easy
+            $KAMELOT_MX[.@g]-=15;
+            $KAMELOT_PC[.@g]=max(1, $KAMELOT_PC[.@g]*8/10);
+            mapannounce(getmap(), "Kamelot Difficulty set to: Easy.", bc_map);
+            break;
+        case 3: // Hard
+            $KAMELOT_MX[.@g]+=15;
+            $KAMELOT_PC[.@g]=max(1, $KAMELOT_PC[.@g]*12/10)+1;
+            mapannounce(getmap(), "Kamelot Difficulty set to: Hard.", bc_map);
+            break;
+    }
     close;
 
 
-- 
cgit v1.2.3-70-g09d2