summaryrefslogtreecommitdiff
path: root/world/map/npc/018-2
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-04-16 21:11:51 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-30 01:41:26 -0400
commitbf3c1c0e4add6a5d8a52b043a30775eada1cef2f (patch)
treee5b50684900e324ac12eeb16c1c38b6729b3fb86 /world/map/npc/018-2
parentdbf4de95bec3a15f3e7c636899f679c814af85a2 (diff)
downloadserverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.gz
serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.bz2
serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.tar.xz
serverdata-bf3c1c0e4add6a5d8a52b043a30775eada1cef2f.zip
remove deprecated readparam & statusup2
Diffstat (limited to 'world/map/npc/018-2')
-rw-r--r--world/map/npc/018-2/caul.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/world/map/npc/018-2/caul.txt b/world/map/npc/018-2/caul.txt
index 2a1a2769..2c0da73b 100644
--- a/world/map/npc/018-2/caul.txt
+++ b/world/map/npc/018-2/caul.txt
@@ -138,7 +138,7 @@ L_brew:
goto L_CraftLoop;
L_CraftLoop:
- set @throw, rand(readparam(bInt));
+ set @throw, rand(bInt);
set @result, 1;
if (@throw >= 5) set @result, 2;
if (@throw >= 15) set @result, 3;
@@ -426,7 +426,7 @@ L_mo_random_1: // mode 1: remove colour
return;
L_mo_pc_bad:
- if (rand(readparam(bInt) + 100) > 60)
+ if (rand(bInt + 100) > 60)
goto L_mo_pc_bad_ok;
if (@bubble_mode)
mes "As your leaf dissolves, the intensity of the bubbling increases.";
@@ -446,7 +446,7 @@ L_mo_pc_bad_ok:
L_mo_auto_bad:
if (rand(3) == 0)
goto L_Return;
- if (rand(readparam(bInt) + 100) > 70)
+ if (rand(bInt + 100) > 70)
goto L_Return;
mes "The brew begins to bubble more violently.";
set @bubble_mode, @bubble_mode + 1;
@@ -459,11 +459,11 @@ L_mo_auto_bad:
L_mo_explode:
mes "[Exploding monster oil]";
mes "Your brew explodes!";
- if (rand(readparam(bAgi)) > 40)
+ if (rand(bAgi) > 40)
goto L_mo_explode_dodge;
mes "The burst of boiling monster brew hits you.";
next;
- heal (15 * rand(readparam(bVit))) - 1500, 0, 1;
+ heal (15 * rand(bVit)) - 1500, 0, 1;
close;
L_mo_explode_dodge:
@@ -713,7 +713,7 @@ L_mopox_failed_hard:
mes "Suddenly, the thick mass bends outwards, a huge bubble bursting open right in your face!";
next;
- if (rand(readparam(bVit)) < 40)
+ if (rand(bVit) < 40)
sc_start sc_poison, 1, 20;
mes "[Brewing Mopox Cure]";