diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/treasure.txt | 2 | ||||
-rw-r--r-- | npc/functions/util.txt | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 62e3a9eff..c2bdd9bbf 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -553,7 +553,7 @@ function script mstone { return ( MAGIC_LVL == .@v && - readparam(bInt) >= $MANA_BINT+(.int*.@v) && + readparam2(bInt) >= $MANA_BINT+(.int*.@v) && BaseLevel >= $MANA_BLVL+(.lvl*.@v) && JobLevel >= $MANA_JLVL+(.jlv*.@v) && readparam(Sp) == readparam(MaxSp)); |