diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-25 19:19:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-25 19:19:00 -0300 |
commit | c78c295c1cc44885e6148565a2877eca9fa3d0ab (patch) | |
tree | 2709ca21480711c7309965425344f9729812e293 | |
parent | e27a557d0ad8d1b0f97edd530554ed171bb67124 (diff) | |
download | serverdata-c78c295c1cc44885e6148565a2877eca9fa3d0ab.tar.gz serverdata-c78c295c1cc44885e6148565a2877eca9fa3d0ab.tar.bz2 serverdata-c78c295c1cc44885e6148565a2877eca9fa3d0ab.tar.xz serverdata-c78c295c1cc44885e6148565a2877eca9fa3d0ab.zip |
Prepare five new flavors of tea which I'm yet to decide the name.
Lv 20 Tea, Lv 40 Tea, Lv 60 Tea, Lv 80 Tea, Lv 100 Tea.
Names undecided, only effects. I also need the pixel art (or color codes).
-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 |