diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-13 02:48:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-13 02:48:16 -0300 |
commit | df63a99394dffaa2cbdf9be21c9cf3bfd500a04f (patch) | |
tree | 44d85d3eb8636b711f2b908635cfa2716a372461 /npc/018-2-2/main.txt | |
parent | 72ff7307ae8a18680f9ca001daede3842bc15c42 (diff) | |
download | serverdata-df63a99394dffaa2cbdf9be21c9cf3bfd500a04f.tar.gz serverdata-df63a99394dffaa2cbdf9be21c9cf3bfd500a04f.tar.bz2 serverdata-df63a99394dffaa2cbdf9be21c9cf3bfd500a04f.tar.xz serverdata-df63a99394dffaa2cbdf9be21c9cf3bfd500a04f.zip |
Heroes Hold traps may now lower some MP as well
(The two first dungeons probably won't do so)
Diffstat (limited to 'npc/018-2-2/main.txt')
-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 |