From 4fcbee767848cb0a4b34db504fa0cb30d55dc78d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 3 Sep 2019 14:07:53 -0300 Subject: Use readparam2() instead of readparam() in several places --- npc/functions/treasure.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/treasure.txt') 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 -- cgit v1.2.3-70-g09d2