summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-02 09:43:03 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-02 09:43:03 -0300
commit3125fe5d8b5bfe76f065e75bc42b64ef44c14df9 (patch)
tree2dba42aae06396025fdbb6940b0b255a03e20e2d
parent423c966a11c8f30df4f5d9335eb77d1ae71b9258 (diff)
downloadserverdata-3125fe5d8b5bfe76f065e75bc42b64ef44c14df9.tar.gz
serverdata-3125fe5d8b5bfe76f065e75bc42b64ef44c14df9.tar.bz2
serverdata-3125fe5d8b5bfe76f065e75bc42b64ef44c14df9.tar.xz
serverdata-3125fe5d8b5bfe76f065e75bc42b64ef44c14df9.zip
Elixir of Life should protect from Disease & Bleeding map effects.
Bleeding map effect protection should not prevent bleeding, just enable Regen.
-rw-r--r--db/re/item_db.conf2
-rw-r--r--npc/functions/dungeon.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index d6a073c35..5679a38e3 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -637,7 +637,9 @@ item_db: (
callfunc("SC_Bonus", 180, SC_KAIZEL, 1); // Revives with 1% HP if you die
// Protects you for 30 seconds from map ailments
@coolio=max(gettimetick(2), @coolio)+30;
+ @sickio=max(gettimetick(2), @sickio)+30;
@purifio=max(gettimetick(2), @purifio)+30;
+ @bleedio=max(gettimetick(2), @bleedio)+30;
">
},
{
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt
index 40b8a8e2d..ca6799fe6 100644
--- a/npc/functions/dungeon.txt
+++ b/npc/functions/dungeon.txt
@@ -138,7 +138,7 @@ OnBleed:
SC_Bonus(15, SC_HALT_REGENERATION, 1);
// You may bleed at 2% chance per 15 seconds
- if (rand2(50) == 25 && @bleedio < gettimetick(2))
+ if (rand2(50) == 25)
SC_Bonus(15, SC_BLOODING, 1);
// New tick