summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2011-04-17 13:51:06 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2011-04-17 13:51:06 +0200
commit5b7eb05126487ef9abad405f37abaeaa17cd4b3a (patch)
tree00628b07e3af634b7c27d2ade1ad144680f2b4ba
parent2efe9166993d27dce2a42a5e6d1bf2eb29f15422 (diff)
downloadserverdata-5b7eb05126487ef9abad405f37abaeaa17cd4b3a.tar.gz
serverdata-5b7eb05126487ef9abad405f37abaeaa17cd4b3a.tar.bz2
serverdata-5b7eb05126487ef9abad405f37abaeaa17cd4b3a.tar.xz
serverdata-5b7eb05126487ef9abad405f37abaeaa17cd4b3a.zip
Fixing erroneous execution of "Give all" from Ishi
If a character has monster points for less than 10 rewards and asks for the maximum number of items, then he got at the end the false message: "It looks like your Monster Points were over estimated." Also fixed initialization of array. Reviewed-by: Stefan Beller
-rw-r--r--npc/001-1_Tulimshar/rewards_master.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/001-1_Tulimshar/rewards_master.txt b/npc/001-1_Tulimshar/rewards_master.txt
index bd55b0ae..028b24c1 100644
--- a/npc/001-1_Tulimshar/rewards_master.txt
+++ b/npc/001-1_Tulimshar/rewards_master.txt
@@ -12,7 +12,7 @@
next;
set @i, 0;
- setarray @Menu$, "", "", "", "", "", "", "", "", "", "", "";
+ setarray @Menu$, "", "", "", "", "", "", "", "", "", "", "", "";
callsub SUB_prep_menu;
menu
@@ -32,7 +32,7 @@
// this is for the last entry "No thanks":
if (@menu > @i) close;
// this is for the "Give all" entry:
- if (@menu == @i) goto L_Give_all;
+ if (@menu == 11) goto L_Give_all;
set @req, @menu;
set @rec, 0;
@@ -79,8 +79,8 @@ L_Give_all_next:
mes "[Ishi the Rewards Master]";
mes "\"You have brought lots of items now. You have still " + Mobpt + " monster points. Shall we continue?\"";
menu
- "yes", L_Give_all,
- "no", L_Give_all_done;
+ "Yes", L_Give_all,
+ "No", L_Give_all_done;
close;
L_Give_all_done: