summaryrefslogtreecommitdiff
path: root/npc/018-2-2/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-01 23:46:13 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-01 23:46:13 -0300
commitef351711837cbb15e445f0d0aa3c9c9c0059f90c (patch)
tree22581f52ef90c973f6c55c022ab38a4cace3c6c3 /npc/018-2-2/main.txt
parent565fd7f9c5f31df683aa6c7979b2fc15e70e801e (diff)
downloadserverdata-ef351711837cbb15e445f0d0aa3c9c9c0059f90c.tar.gz
serverdata-ef351711837cbb15e445f0d0aa3c9c9c0059f90c.tar.bz2
serverdata-ef351711837cbb15e445f0d0aa3c9c9c0059f90c.tar.xz
serverdata-ef351711837cbb15e445f0d0aa3c9c9c0059f90c.zip
That would be lame, so allow vitality to intervene.
Diffstat (limited to 'npc/018-2-2/main.txt')
-rw-r--r--npc/018-2-2/main.txt2
1 files changed, 1 insertions, 1 deletions
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)