diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-01 23:46:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-01 23:46:13 -0300 |
commit | ef351711837cbb15e445f0d0aa3c9c9c0059f90c (patch) | |
tree | 22581f52ef90c973f6c55c022ab38a4cace3c6c3 /npc/018-2-2/main.txt | |
parent | 565fd7f9c5f31df683aa6c7979b2fc15e70e801e (diff) | |
download | serverdata-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.txt | 2 |
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) |