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/012-1/gwendolyn.txt | 2 +- npc/012-1/hinnak.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/012-1') diff --git a/npc/012-1/gwendolyn.txt b/npc/012-1/gwendolyn.txt index d1a62a221..daf6cedd0 100644 --- a/npc/012-1/gwendolyn.txt +++ b/npc/012-1/gwendolyn.txt @@ -439,7 +439,7 @@ L_Success: mesq l("Let me inspect it..."); mesc l("She walks to the target."); next; - if( rand(400) > (2*readparam(bDex) + readparam(bAgi))) + if( rand2(400) > (2*readparam2(bDex) + readparam2(bAgi))) goto L_Miss; setq HurnscaldQuest_HarkEye, 6; diff --git a/npc/012-1/hinnak.txt b/npc/012-1/hinnak.txt index 6b8b64d8c..47b019ce7 100644 --- a/npc/012-1/hinnak.txt +++ b/npc/012-1/hinnak.txt @@ -30,7 +30,7 @@ L_Start: mesn; mesq l("Ah, so you're willing to help? Great! Because I HATE THEM ALL!"); next; - if (readparam(bAgi) < 20) goto L_Slow; + if (readparam2(bAgi) < 20) goto L_Slow; if (BaseLevel < 20) goto L_Weak; mesn; mesq l("They jump left and right and left and right again, and I can't catch them."); -- cgit v1.2.3-70-g09d2