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/012-1 | |
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/012-1')
-rw-r--r-- | npc/012-1/gwendolyn.txt | 2 | ||||
-rw-r--r-- | npc/012-1/hinnak.txt | 2 |
2 files changed, 2 insertions, 2 deletions
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."); |