diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-03 14:07:53 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-03 14:07:53 -0300 |
commit | 4fcbee767848cb0a4b34db504fa0cb30d55dc78d (patch) | |
tree | bb7b13be1935ae2769dc4aaf0b6b0644d28b83ae /npc/items/rand_sc_heal.txt | |
parent | 42ff46a168148ceb70bb37431ad4d162429be464 (diff) | |
download | serverdata-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/items/rand_sc_heal.txt')
-rw-r--r-- | npc/items/rand_sc_heal.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt index c14f33a97..b8a797585 100644 --- a/npc/items/rand_sc_heal.txt +++ b/npc/items/rand_sc_heal.txt @@ -77,8 +77,8 @@ OnUse: // Vitality raises the minimum healing value in 1%, capped at maximum vlaue // It also raises @max up to double - @max = min(@max*2, @min+(readparam(bVit)/50)); - @min = min(@max, @min+(readparam(bVit)/30)); + @max = min(@max*2, @min+(readparam2(bVit)/50)); + @min = min(@max, @min+(readparam2(bVit)/30)); // Make these abstract % in absolute values @min=max(1, MaxHp*@min/100); |