summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2025-03-18 23:38:53 -0300
committerJesusaves <cpntb1@ymail.com>2025-03-18 23:38:53 -0300
commit874fe0e1909d3594568a466085fc1545a7f2b311 (patch)
treef47491bc1d31e07fab948aba0fb620fea4e52d55
parentb9868f37632f8aa1b7a056dd4784ebf1a09a6890 (diff)
downloadserverdata-874fe0e1909d3594568a466085fc1545a7f2b311.tar.gz
serverdata-874fe0e1909d3594568a466085fc1545a7f2b311.tar.bz2
serverdata-874fe0e1909d3594568a466085fc1545a7f2b311.tar.xz
serverdata-874fe0e1909d3594568a466085fc1545a7f2b311.zip
[skip ci] for balance reasons, frostbites may be randomly weaker
So your death goes from 12 minutes to 18 minutes in average
-rw-r--r--npc/functions/dungeon.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt
index b9d372d3a..42386a5f0 100644
--- a/npc/functions/dungeon.txt
+++ b/npc/functions/dungeon.txt
@@ -324,7 +324,7 @@ OnFrost:
// You are in a FROSTMAP$ and may get frostbites
if (@frostio <= gettimetick(2) && (Class != Elf && Class != Ukar)) {
// You get Frostbites at 100% probability
- percentheal -2, 0;
+ percentheal any(-1, -2), 0;
// You may get cold at ~8% chance
if (rand2(12) == 10)
SC_Bonus(15, SC_COLD, 5);
@@ -332,7 +332,7 @@ OnFrost:
if (rand2(50) == 25)
SC_Bonus(15, SC_FREEZE, 5);
} else {
- // Only 25% chance of a weaker frostbite
+ // Only 25% chance of a frostbite
if (rand2(4) == 2)
percentheal -1, 0;
}