summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-02-22 20:14:15 +0100
committerReid <reidyaro@gmail.com>2016-02-22 20:14:15 +0100
commitc03227d0899a92cac120610f5ea5dfcbe18a42c3 (patch)
tree1c1e07f45bde32864d51516d3483ca448ce92fe4 /npc
parent63bda5fa01d067dc12ba22f35d4191cac816a4fc (diff)
downloadserverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.tar.gz
serverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.tar.bz2
serverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.tar.xz
serverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.zip
Fix Enora's money/exp exploit.
Diffstat (limited to 'npc')
-rw-r--r--npc/001-1/enora.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/001-1/enora.txt b/npc/001-1/enora.txt
index d47557aa..a6d05154 100644
--- a/npc/001-1/enora.txt
+++ b/npc/001-1/enora.txt
@@ -310,8 +310,11 @@
l("It's a very good place if you want to make some more money.");
emotion 6;
- setq ArtisQuests_Enora, 11;
- enora_reward (140, 500);
+ if (getq (ArtisQuests_Enora) == 10)
+ {
+ setq ArtisQuests_Enora, 11;
+ enora_reward (140, 500);
+ }
return;
}