diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-01-02 09:43:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-01-02 09:43:03 -0300 |
commit | 3125fe5d8b5bfe76f065e75bc42b64ef44c14df9 (patch) | |
tree | 2dba42aae06396025fdbb6940b0b255a03e20e2d | |
parent | 423c966a11c8f30df4f5d9335eb77d1ae71b9258 (diff) | |
download | serverdata-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.conf | 2 | ||||
-rw-r--r-- | npc/functions/dungeon.txt | 2 |
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 |