diff options
Diffstat (limited to 'npc/015-8')
-rw-r--r-- | npc/015-8/puzzle.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/015-8/puzzle.txt b/npc/015-8/puzzle.txt index 9fdd624c5..7417fbe16 100644 --- a/npc/015-8/puzzle.txt +++ b/npc/015-8/puzzle.txt @@ -42,7 +42,7 @@ OnTouch: break; // Let's climb the wall! case 2: - if (readparam(bStr) < 20 || (!countitem(MinerGloves) && !countitem(LeatherGloves))) { + if (readparam2(bStr) < 20 || (!countitem(MinerGloves) && !countitem(LeatherGloves))) { mesc l("You don't have proper equipment for it."); } else { mesc l("Taking your sturdy glove, you attempt to walk by the wall! You are betting your life on it!"); @@ -56,7 +56,7 @@ OnTouch: // We get a bit more than 50% - we take 60%, so your chances are // higher than jumping... But you need two stats, instead of one! // (Top will be 120 instead of 100 - thus, 720 out of 640) - .@ponderate=(readparam(bStr)+readparam(bVit))/100*60; + .@ponderate=(readparam2(bStr)+readparam2(bVit))/100*60; if (rand(0,1000) < 640-(.@ponderate*6)) { mesc l("But unfortunately, a loose stone lodges and you fall to your death."), 1; percentheal -100, -100; @@ -68,7 +68,7 @@ OnTouch: break; // Let's run it! case 3: - if (readparam(bAgi) < 20 || Weight > 1500) { + if (readparam2(bAgi) < 20 || Weight > 1500) { mesc l("You don't have enough agility / is carrying too much to attempt it."); } else { mesc l("You'll give your best and attempt to run!"); @@ -77,7 +77,7 @@ OnTouch: next; mesc l("YOU JUMP FOR ALL IT IS WORTH!!"); // (You can always fall as top is 600 of 640) - if (rand(0,1000) < 640-(readparam(bAgi)*6)) { + if (rand(0,1000) < 640-(readparam2(bAgi)*6)) { mesc l("But unfortunately, it was harder than you thought. You are dead."), 1; percentheal -100, -100; close; |