summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-18 01:46:29 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-18 01:46:29 -0300
commit7d5c94196fb91bdcfcb9a7fbb9683b4ad08d7557 (patch)
treeed593d4d49f199721cf47e374c529412067f8854 /npc/functions
parentd9404a1bda689819f1020f6016a46a03b7c65f26 (diff)
downloadserverdata-7d5c94196fb91bdcfcb9a7fbb9683b4ad08d7557.tar.gz
serverdata-7d5c94196fb91bdcfcb9a7fbb9683b4ad08d7557.tar.bz2
serverdata-7d5c94196fb91bdcfcb9a7fbb9683b4ad08d7557.tar.xz
serverdata-7d5c94196fb91bdcfcb9a7fbb9683b4ad08d7557.zip
Lua will now give you also a Treasure Key. Have fun exploring!
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/clientversion.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index f7f2e2158..3950f70f2 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -543,6 +543,9 @@ function script clientupdater {
// Magic Skill Points for this skill went from 3 to 2
if (getskilllv(ASC_METEORASSAULT))
MAGIC_PTS-=1;
+ // Treasure Key from Lua
+ if (getq(General_Narrator) >= 3)
+ getitem TreasureKey, 1;
// Post-poned Referral Rewards
if (#REFERRAL_PROG && BaseLevel >= 25 && #REFERRAL_CTRL < 1) {