diff options
-rw-r--r-- | db/re/item_db.conf | 90 | ||||
-rw-r--r-- | npc/items/rand_mp_heal.txt | 1 |
2 files changed, 91 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 55ccea8a2..85c58a563 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -15051,6 +15051,96 @@ item_db: ( doevent "rand_sc_heal::OnUse"; "> }, +{ + Id: 8014 + AegisName: "RandomTea1" + Name: "Random Tea 1" + Type: "IT_HEALING" + Buy: 200 + Sell: 5 + Weight: 5 + Refine: false + Delay: 500 + UseEffect: "EFFECT_HEAL" + Script: <" + @min = 120; + @max = 272; + @delay = 2; + doevent "rand_mp_heal::OnUse"; + "> +}, +{ + Id: 8015 + AegisName: "RandomTea2" + Name: "Random Tea 2" + Type: "IT_HEALING" + Buy: 200 + Sell: 5 + Weight: 5 + Refine: false + Delay: 500 + UseEffect: "EFFECT_HEAL" + Script: <" + @min = 300; + @max = 452; + @delay = 3; + doevent "rand_mp_heal::OnUse"; + "> +}, +{ + Id: 8016 + AegisName: "RandomTea3" + Name: "Random Tea 3" + Type: "IT_HEALING" + Buy: 200 + Sell: 5 + Weight: 5 + Refine: false + Delay: 500 + UseEffect: "EFFECT_HEAL" + Script: <" + @min = 480; + @max = 632; + @delay = 4; + doevent "rand_mp_heal::OnUse"; + "> +}, +{ + Id: 8017 + AegisName: "RandomTea4" + Name: "Random Tea 4" + Type: "IT_HEALING" + Buy: 200 + Sell: 5 + Weight: 5 + Refine: false + Delay: 500 + UseEffect: "EFFECT_HEAL" + Script: <" + @min = 660; + @max = 812; + @delay = 5; + doevent "rand_mp_heal::OnUse"; + "> +}, +{ + Id: 8018 + AegisName: "RandomTea5" + Name: "Random Tea 5" + Type: "IT_HEALING" + Buy: 200 + Sell: 5 + Weight: 5 + Refine: false + Delay: 500 + UseEffect: "EFFECT_HEAL" + Script: <" + @min = 840; + @max = 992; + @delay = 6; + doevent "rand_mp_heal::OnUse"; + "> +}, ) diff --git a/npc/items/rand_mp_heal.txt b/npc/items/rand_mp_heal.txt index d64661bea..918e02dc3 100644 --- a/npc/items/rand_mp_heal.txt +++ b/npc/items/rand_mp_heal.txt @@ -28,6 +28,7 @@ OnUse: // Save the effect @mp_healeffect = rand2(@min, @max); + @mp_healeffect = @mp_healeffect / @delay + 1; @mp_healdelay = @delay; // Apply the effect and finish |