summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-20 11:23:47 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-20 11:23:47 -0300
commit3a4b3571e81df73d16aef59900181f554a0b60fc (patch)
tree080f226a843df84b175dfbf26e5cde10c55f7d5a
parentcc8727b60fbcae442bc3fd0e38514733d5fab1d2 (diff)
downloadserverdata-3a4b3571e81df73d16aef59900181f554a0b60fc.tar.gz
serverdata-3a4b3571e81df73d16aef59900181f554a0b60fc.tar.bz2
serverdata-3a4b3571e81df73d16aef59900181f554a0b60fc.tar.xz
serverdata-3a4b3571e81df73d16aef59900181f554a0b60fc.zip
Rewrite healing item database. All healing items now have an status.
Most are auto-generated based on your MaxHP (% - based), but a few ones are based on absolute values.
-rw-r--r--db/re/item_db.conf401
1 files changed, 129 insertions, 272 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 61a6d008c..26c4b5855 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -192,10 +192,8 @@ item_db: (
monster(.@map$, .@x, .@y, l("Not An Oak"), SpringSquirrel, 1);
}
} else {
- @min = 15;
- @max = 45;
- @delay = 3;
@type = 1;
+ @rarity=1;
doevent "rand_sc_heal::OnUse";
}
">
@@ -214,10 +212,8 @@ item_db: (
UseEffect: "EFFECT_HEAL"
Script: <"
//sc_start SC_INCATKRATE, 10000, 100;
- @min = 50;
- @max = 180;
- @delay = 3;
@type = 1;
+ @rarity=2;
doevent "rand_sc_heal::OnUse";
">
},
@@ -235,10 +231,8 @@ item_db: (
UseEffect: "EFFECT_HEAL"
Script: <"
sc_end SC_POISON;
- @min = 35;
- @max = 70;
- @delay = 5;
- @type = 4;
+ @type = 1;
+ @rarity=3;
doevent "rand_sc_heal::OnUse";
">
},
@@ -255,10 +249,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 60;
- @max = 100;
- @delay = 5;
@type = 1;
+ @rarity=3;
doevent "rand_sc_heal::OnUse";
">
},
@@ -275,10 +267,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 15;
- @max = 40;
- @delay = 2;
- @type = 1;
+ @type = 2;
+ @rarity=1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -295,10 +285,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 35;
- @max = 65;
- @delay = 2;
@type = 1;
+ @rarity=1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -315,10 +303,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 60;
- @max = 140;
- @delay = 3;
@type = 1;
+ @rarity=3;
doevent "rand_sc_heal::OnUse";
">
},
@@ -335,10 +321,8 @@ item_db: (
UseEffect: "EFFECT_HEAL"
Script: <"
sc_start SC_POISON, 30000, 0;
- @min = 20;
- @max = 40;
- @delay = 3;
@type = 1;
+ @rarity=2;
doevent "rand_sc_heal::OnUse";
">
},
@@ -355,10 +339,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 180;
- @max = 320;
- @delay = 5;
@type = 1;
+ @rarity=5;
doevent "rand_sc_heal::OnUse";
">
},
@@ -375,10 +357,8 @@ item_db: (
UseEffect: "EFFECT_HEAL"
Script: <"
sc_start2 SC_POISON, 1, 30, 3333;
- @min = 10;
- @max = 26;
- @delay = 1;
- @type = 1;
+ @type = 0;
+ @rarity=2;
doevent "rand_sc_heal::OnUse";
">
},
@@ -395,10 +375,8 @@ item_db: (
UseEffect: "EFFECT_HEAL"
Script: <"
sc_start2 SC_POISON, 1, 30, 6666;
- @min = 60;
- @max = 130;
- @delay = 5;
- @type = 1;
+ @type = 0;
+ @rarity=3;
doevent "rand_sc_heal::OnUse";
">
},
@@ -415,10 +393,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 120;
- @max = 180;
- @delay = 5;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -449,14 +425,11 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 35;
- @max = 100;
+ @type = 0;
+ @rarity=1;
if ($@SEASON == WINTER) {
- @min = 105;
- @max = 300;
+ @rarity = 10;
}
- @delay = 4;
- @type = 1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -477,8 +450,7 @@ item_db: (
@min = 30;
@max = 60;
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -515,10 +487,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 40;
- @max = 65;
- @delay = 5;
- @type = 1;
+ @type = 2;
+ @rarity=8;
doevent "rand_sc_heal::OnUse";
">
},
@@ -535,15 +505,12 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 100;
- @max = 225;
+ @type = 3;
+ @rarity=2;
if ($EVENT$ == "Easter") {
- @min*=4;
- @max*=3;
+ @rarity=6;
sc_start SC_INCHIT,10000,10;
}
- @delay = 5;
- @type = 1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -560,10 +527,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 400;
- @max = 1300;
- @delay = 5;
- @type = 2;
+ @type = 4;
+ @rarity=2;
doevent "rand_sc_heal::OnUse";
">
},
@@ -580,10 +545,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 1300;
- @max = 2600;
- @delay = 5;
- @type = 2;
+ @type = 4;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -600,10 +563,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 2600;
- @max = 3300;
- @delay = 5;
- @type = 2;
+ @type = 4;
+ @rarity=6;
doevent "rand_sc_heal::OnUse";
">
},
@@ -620,10 +581,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 3300;
- @max = 4250;
- @delay = 5;
- @type = 2;
+ @type = 4;
+ @rarity=8;
doevent "rand_sc_heal::OnUse";
">
},
@@ -640,10 +599,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4250;
- @max = 5500;
- @delay = 5;
- @type = 2;
+ @type = 4;
+ @rarity=10;
doevent "rand_sc_heal::OnUse";
">
},
@@ -694,7 +651,6 @@ item_db: (
@min = 30;
@max = 50;
@delay = 4;
- @type = 1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -711,10 +667,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 66;
- @max = 99;
- @delay = 5;
@type = 1;
+ @rarity=2;
doevent "rand_sc_heal::OnUse";
">
},
@@ -733,10 +687,8 @@ item_db: (
Script: <"
sc_start SC_ATTHASTE_POTION1, 30000, 5;
sc_end SC_POISON;
- @min = 40;
- @max = 50;
- @delay = 5;
- @type = 3;
+ @type = 1;
+ @rarity=9;
doevent "rand_sc_heal::OnUse";
">
},
@@ -753,14 +705,11 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 20;
- @max = 30;
+ @type = 1;
+ @rarity=3;
if ($EVENT$ == "Easter" || $EVENT$ == "Valentine") {
- @min = 200;
- @max = 300;
+ @rarity=9;
}
- @delay = 3;
- @type = 1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -858,10 +807,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 65;
- @max = 175;
- @delay = 3;
- @type = 1;
+ @type = 2;
+ @rarity=3;
doevent "rand_sc_heal::OnUse";
">
},
@@ -878,10 +825,8 @@ item_db: (
Delay: 400
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 95;
- @max = 225;
- @delay = 4;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -898,10 +843,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 85;
- @max = 220;
- @delay = 3;
@type = 1;
+ @rarity=3;
doevent "rand_sc_heal::OnUse";
">
},
@@ -918,10 +861,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 65;
- @max = 140;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -938,10 +879,9 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 1;
- @max = 100;
- @delay = 5;
- @type = 1;
+ @delay= 5;
+ @type = 3;
+ @rarity=9;
doevent "rand_sc_heal::OnUse";
">
},
@@ -958,10 +898,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 210;
- @max = 444;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
@taste = 3;
@Alcohol = 7;
@@ -981,14 +919,11 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 5;
+ @type = 0;
+ @rarity=1;
if ($EVENT$ == "SPRING") {
- @min=400;
- @max=500;
+ @rarity=10;
}
- @delay = 1;
- @type = 1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1005,10 +940,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 12;
- @max = 64;
- @delay = 3;
- @type = 1;
+ @type = 0;
+ @rarity=2;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1025,10 +958,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 10;
- @max = 200;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
if (rand(1,8) != 4)
getitem EmptyBottle, 1;
@@ -1047,10 +978,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
- @type = 1;
+ @type = 0;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1067,10 +996,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1087,10 +1014,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 60;
- @max = 130;
- @delay = 3;
- @type = 1;
+ @type = 2;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1107,10 +1032,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
- @type = 1;
+ @type = 2;
+ @rarity=5;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1127,10 +1050,9 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 100;
- @max = 800;
@delay = rand(1,8);
@type = 1;
+ @rarity=5;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1146,14 +1068,11 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 240;
+ @type = 0;
+ @rarity=4;
if ($@SEASON == WINTER) {
- @min = 12;
- @max = 720;
+ @rarity=10;
}
- @delay = 4;
- @type = 1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1170,10 +1089,9 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4000;
- @max = 12000;
@delay = 30;
- @type = 1;
+ @type = 4;
+ @rarity=6;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1190,10 +1108,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1210,10 +1126,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
- @type = 1;
+ @type = 0;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1231,10 +1145,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
- @type = 1;
+ @type = 0;
+ @rarity=7;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1251,10 +1163,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 100;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1274,8 +1184,7 @@ item_db: (
@min = 75;
@max = 120;
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -1294,8 +1203,7 @@ item_db: (
@min = 200;
@max = 400;
@delay = 2;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -1311,10 +1219,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1331,10 +1237,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1351,10 +1255,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1371,10 +1273,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=2;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1391,10 +1291,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=3;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1414,8 +1312,7 @@ item_db: (
@min = 4;
@max = 4;
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -1431,10 +1328,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1451,10 +1346,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
@type = 1;
+ @rarity=5;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1471,10 +1364,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 400;
- @max = 500;
- @delay = 5;
- @type = 1;
+ @type = 2;
+ @rarity=5;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1491,10 +1382,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 300;
- @max = 570;
- @delay = 5;
- @type = 1;
+ @type = 3;
+ @rarity=2;
itemheal 0, rand(32,96);
sc_start SC_ATTHASTE_POTION1, 10000, 3;
doevent "rand_sc_heal::OnUse";
@@ -1520,8 +1409,7 @@ item_db: (
@max=1200;
}
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -1545,7 +1433,7 @@ item_db: (
}
@delay = 4;
@type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -1561,10 +1449,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
- @type = 1;
+ @type = 2;
+ @rarity=1;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1581,10 +1467,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 500;
- @max = 700;
- @delay = 5;
@type = 1;
+ @rarity=9;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1601,10 +1485,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 130;
- @max = 210;
- @delay = 3;
- @type = 1;
+ @type = 0;
+ @rarity=9;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1621,10 +1503,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 4;
- @max = 400;
- @delay = 3;
- @type = 1;
+ @type = 2;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1663,8 +1543,7 @@ item_db: (
@min = 8;
@max = 14;
@delay = 1;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -1858,14 +1737,12 @@ item_db: (
Delay: 400
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 400;
- @max = 1400;
- @delay = 3;
@type = 1;
+ @rarity=10;
// Effect up on Aeros
getmapxy(.@ma$,.@xa,.@ya,0);
- if (.@ma$ ~= "001-*")
- @min+=400;
+ if (strpos(.@ma$, "001-") >= 0)
+ @type+=2;
doevent "rand_sc_heal::OnUse";
getitem EmptyBottle, 1;
">
@@ -1887,7 +1764,7 @@ item_db: (
@max = 800;
@delay = 3;
@type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
if (rand(1,7) != 4)
getitem EmptyBottle, 1;
">
@@ -1905,10 +1782,8 @@ item_db: (
Delay: 800
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 1300;
- @max = 1800;
- @delay = 4;
@type = 1;
+ @rarity=6;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1925,10 +1800,8 @@ item_db: (
Delay: 100
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 5000;
- @max = 10000;
- @delay = 2;
- @type = 1;
+ @type = 4;
+ @rarity=7;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1945,10 +1818,8 @@ item_db: (
Delay: 800
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 100;
- @max = 200;
- @delay = 4;
- @type = 1;
+ @type = 2;
+ @rarity=5;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1965,10 +1836,8 @@ item_db: (
Delay: 800
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 150;
- @max = 250;
- @delay = 3;
- @type = 1;
+ @type = 2;
+ @rarity=6;
doevent "rand_sc_heal::OnUse";
">
},
@@ -1992,8 +1861,7 @@ item_db: (
@min = 30;
@max = 60;
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2012,8 +1880,7 @@ item_db: (
@min = 45;
@max = 75;
@delay = 6;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2070,7 +1937,7 @@ item_db: (
@max = 40;
@delay = 3;
@type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
getitem EmptyBottle, 1;
">
},
@@ -2145,8 +2012,7 @@ item_db: (
@max = 780;
}
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2169,8 +2035,7 @@ item_db: (
@max = 921;
}
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2193,8 +2058,7 @@ item_db: (
@max = 1185;
}
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2260,7 +2124,10 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- itemheal rand(100, 250), 0;
+ @type = 2;
+ @rarity=7;
+ doevent "rand_sc_heal::OnUse";
+ //itemheal rand(100, 250), 0;
/*
@min = 100;
@max = 250;
@@ -2325,8 +2192,7 @@ item_db: (
@min = 300;
@max = 700;
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
if (rand(1,7) != 4)
getitem EmptyBottle, 1;
">
@@ -2376,10 +2242,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 185;
- @max = 380;
- @delay = 5;
@type = 1;
+ @rarity=4;
doevent "rand_sc_heal::OnUse";
">
},
@@ -2396,10 +2260,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 1000;
- @max = 4000;
- @delay = 5;
- @type = 1;
+ @type = 4;
+ @rarity=6;
doevent "rand_sc_heal::OnUse";
">
},
@@ -2437,8 +2299,7 @@ item_db: (
@max = 990;
}
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2461,8 +2322,7 @@ item_db: (
@max = 990;
}
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2485,8 +2345,7 @@ item_db: (
@max = 990;
}
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
{
@@ -2525,8 +2384,7 @@ item_db: (
@min = 40;
@max = 70;
@delay = 4;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
">
},
// 626-629 missing
@@ -12390,8 +12248,7 @@ item_db: (
@min = 8;
@max = 30;
@delay = 3;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ doevent "legacy_heal::OnUse";
} else {
if (!getmapxy(.@map$, .@x, .@y, 0)) {
monster(.@map$, .@x, .@y, l("Oak"), 1017, 1);