summaryrefslogtreecommitdiff
path: root/npc/functions/treasure.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-03 14:07:53 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-03 14:07:53 -0300
commit4fcbee767848cb0a4b34db504fa0cb30d55dc78d (patch)
treebb7b13be1935ae2769dc4aaf0b6b0644d28b83ae /npc/functions/treasure.txt
parent42ff46a168148ceb70bb37431ad4d162429be464 (diff)
downloadserverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.gz
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.bz2
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.xz
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.zip
Use readparam2() instead of readparam() in several places
Diffstat (limited to 'npc/functions/treasure.txt')
-rw-r--r--npc/functions/treasure.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index e97dced4f..cc8fb7563 100644
--- a/npc/functions/treasure.txt
+++ b/npc/functions/treasure.txt
@@ -27,7 +27,7 @@ function script TreasureBox {
if (!.@empty) {
TREASURE_OPEN=TREASURE_OPEN+1;
.@t=TREASURE_OPEN;
- .@r=rand(0,10000)-(readparam(bLuk)*2);
+ .@r=rand(0,10000)-(readparam2(bLuk)*2);
// Select treasure list
// You're warranted an ultra rare (0.1%) every 149 open chests