diff options
-rw-r--r-- | npc/018-2-2/main.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt index dd97a79bd..49f3acfb3 100644 --- a/npc/018-2-2/main.txt +++ b/npc/018-2-2/main.txt @@ -92,9 +92,9 @@ OnPlayerCycle: end; } // TODO: Handle traps (We'll use isin() command because you can give 3~4 steps each counter) - if (rand(0,1000) <= @HH_LEVEL) { + if (rand2(1000) <= @HH_LEVEL) { dispbottom l("You set off a trap!"); - heal -(@HH_LEVEL*rand(2,5)), 0; + heal -(@HH_LEVEL*rand2(2,5)), -(@HH_LEVEL/2); } // Continue the execution |