From ef351711837cbb15e445f0d0aa3c9c9c0059f90c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 1 Mar 2021 23:46:13 -0300 Subject: That would be lame, so allow vitality to intervene. --- npc/018-2-2/main.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt index bf5e9bef3..c1e17a890 100644 --- a/npc/018-2-2/main.txt +++ b/npc/018-2-2/main.txt @@ -95,7 +95,7 @@ OnPlayerCycle: if (rand2(1000) <= @HH_LEVEL) { dispbottom l("You set off a trap!"); heal -(@HH_LEVEL*rand2(2,5)), -(@HH_LEVEL/2); - if (rand2(5) == 3) { + if (rand2(250) > readparam2(bVit)) { // Determine the dangers of the random trap (20% of traps) // SC_Bonus(delay, SC, min{, max}) if (@HH_LEVEL >= HH_MASTER) -- cgit v1.2.3-60-g2f50