diff options
author | Reid <reidyaro@gmail.com> | 2016-03-07 03:21:01 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-03-07 03:47:41 +0100 |
commit | aa6fc12f22e8e02e330461f862b3888ba2499f3f (patch) | |
tree | 94f8d79e8708b942648d8099ede7357ba43f4d77 /db/re | |
parent | 428292f193c37d96c98f7795908c71e6da01b869 (diff) | |
download | serverdata-aa6fc12f22e8e02e330461f862b3888ba2499f3f.tar.gz serverdata-aa6fc12f22e8e02e330461f862b3888ba2499f3f.tar.bz2 serverdata-aa6fc12f22e8e02e330461f862b3888ba2499f3f.tar.xz serverdata-aa6fc12f22e8e02e330461f862b3888ba2499f3f.zip |
Add new rand_sc_heal function in item_db.conf's usable item.
Diffstat (limited to 'db/re')
-rw-r--r-- | db/re/item_db.conf | 160 |
1 files changed, 132 insertions, 28 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 03d502d3..2b811d3e 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -145,7 +145,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(12, 18), 0; + @min = 12; + @max = 18; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -175,7 +179,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(25, 40), 0; + @min = 25; + @max = 40; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -205,8 +213,12 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - sc_end SC_POISON; - heal rand(25, 35), 0; + sc_end SC_POISON; + @min = 25; + @max = 35; + @delay = 5; + @type = 4; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -236,7 +248,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(30, 50), 0; + @min = 30; + @max = 50; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -266,7 +282,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(7, 13), 0; + @min = 7; + @max = 13; + @delay = 2; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -296,7 +316,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(15, 25), 0; + @min = 15; + @max = 25; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -326,7 +350,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(12, 23), 0; + @min = 12; + @max = 23; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -356,7 +384,11 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" sc_start SC_POISON, 30000, 0; - heal rand(10, 20), 0; + @min = 10; + @max = 20; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -386,7 +418,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(75, 100), 0; + @min = 75; + @max = 100; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -416,7 +452,11 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" sc_start2 SC_POISON, 1, 30, 3333; - heal rand(2, 6), 0; + @min = 2; + @max = 6; + @delay = 1; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -446,7 +486,11 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" sc_start2 SC_POISON, 1, 30, 6666; - heal rand(30, 70), 0; + @min = 30; + @max = 70; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -476,7 +520,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(65, 90), 0; + @min = 65; + @max = 90; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -566,7 +614,11 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" sc_start SC_ATTHASTE_POTION1, 15000, 5; - heal rand(20, 30), 0; + @min = 20; + @max = 30; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -656,7 +708,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(28, 35), 0; + @min = 28; + @max = 35; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -686,7 +742,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(60, 75), 0; + @min = 60; + @max = 75; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -716,7 +776,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - itemheal rand(110, 130), 0; + @min = 110; + @max = 130; + @delay = 5; + @type = 2; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -746,7 +810,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - itemheal rand(240, 260), 0; + @min = 240; + @max = 260; + @delay = 5; + @type = 2; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -776,7 +844,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - itemheal rand(575, 625), 0; + @min = 575; + @max = 625; + @delay = 5; + @type = 2; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -806,7 +878,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - itemheal rand(1100, 1300), 0; + @min = 1100; + @max = 1300; + @delay = 5; + @type = 2; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -836,7 +912,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - itemheal rand(2300, 2550), 0; + @min = 2300; + @max = 2550; + @delay = 5; + @type = 2; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -866,7 +946,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - itemheal 10000, 0; + @min = 10000; + @max = 10000; + @delay = 5; + @type = 2; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -925,7 +1009,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(30, 50), 0; + @min = 30; + @max = 50; + @delay = 4; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -947,7 +1035,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(70, 80), 0; + @min = 70; + @max = 80; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -973,8 +1065,12 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" sc_start SC_ATTHASTE_POTION1, 30000, 5; - sc_end SC_POISON; - heal rand(40, 50), 0; + sc_end SC_POISON; + @min = 40; + @max = 50; + @delay = 5; + @type = 3; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -997,7 +1093,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(20, 30), 0; + @min = 20; + @max = 30; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { @@ -1020,7 +1120,11 @@ item_db: ( Sprite: 0 UseEffect: "EFFECT_HEAL" Script: <" - heal rand(40, 90), 0; + @min = 40; + @max = 90; + @delay = 5; + @type = 1; + doevent "rand_sc_heal::OnUse"; "> }, { |