diff options
author | Reid <reidyaro@gmail.com> | 2016-02-22 20:14:15 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-02-22 20:14:15 +0100 |
commit | c03227d0899a92cac120610f5ea5dfcbe18a42c3 (patch) | |
tree | 1c1e07f45bde32864d51516d3483ca448ce92fe4 | |
parent | 63bda5fa01d067dc12ba22f35d4191cac816a4fc (diff) | |
download | serverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.tar.gz serverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.tar.bz2 serverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.tar.xz serverdata-c03227d0899a92cac120610f5ea5dfcbe18a42c3.zip |
Fix Enora's money/exp exploit.
-rw-r--r-- | npc/001-1/enora.txt | 7 |
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; } |