From ba1e827b6b4c17c35a163e6b55be8c122de632b8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 10 Apr 2021 03:00:20 -0300 Subject: Add several convenience functions. Fix some bugs regarding misuse of readparam() --- npc/006-1/miriam.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/006-1/miriam.txt') diff --git a/npc/006-1/miriam.txt b/npc/006-1/miriam.txt index a42253e6..05e59d5e 100755 --- a/npc/006-1/miriam.txt +++ b/npc/006-1/miriam.txt @@ -144,7 +144,7 @@ L_Prepared: @weight = MaxWeight/Weight; if (@weight < 3) goto L_heavyweight; - if (Agi < 60) + if (readparam(bAgi) < 60) goto L_slow; if (BaseLevel < 60) goto L_LowLevel; @@ -175,7 +175,7 @@ L_heavymetal: L_slow: mes "[Miriam]"; - mes "Oh, wait, wait... " +Agi+ " Agility? Are you serious? What do you do with all your Character points? Put them all to 'Strength'? Really... I don't even want to know... Come back here when you have a decent character points distribution!\""; + mes "Oh, wait, wait... " +readparam(bAgi)+ " Agility? Are you serious? What do you do with all your Character points? Put them all to 'Strength'? Really... I don't even want to know... Come back here when you have a decent character points distribution!\""; close; L_LowLevel: @@ -194,7 +194,7 @@ L_Offer: L_TorsoNext: mes "[Miriam]"; - mes "\"I see. I like the way you distributed your Character Points too... " +Agi+ " points to Agility! You really know how to prepare yourself for a good fight!\""; + mes "\"I see. I like the way you distributed your Character Points too... " +readparam(bAgi)+ " points to Agility! You really know how to prepare yourself for a good fight!\""; next; mes "\"Well... Even if you have a potential to be a good fighter, moving the way you do will not help. You need to be fast to avoid the monsters. \""; next; -- cgit v1.2.3-60-g2f50