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/018-5-0 | |
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/018-5-0')
-rw-r--r-- | npc/018-5-0/core.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/018-5-0/core.txt b/npc/018-5-0/core.txt index 38bef9df1..978c73868 100644 --- a/npc/018-5-0/core.txt +++ b/npc/018-5-0/core.txt @@ -13,7 +13,7 @@ OnLoop: if (ispcdead()) end; // Sum everything - you can have 70 str instead of splitting in 35 str and 35 vit - .@status=readparam(bStr)+readparam(bVit); + .@status=readparam2(bStr)+readparam2(bVit); .@reqst=.reqstr+.reqvit; debugmes "Got %d/%d (%d), heal %d", .@status,.@reqst,.@status-.@reqst,min(0, .@status-.@reqst); //percentheal min(0, .@status-.@reqst), 0; |