summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-16 21:35:49 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-16 21:35:49 -0300
commit95314603c1c4b1d7aa03e81fd3ce949ac9f291d0 (patch)
tree691051f2b0e8f85108d701b7403ab696c037b547
parent956ca60ed5f2fe63b11f942063d190416e055da3 (diff)
downloadserverdata-95314603c1c4b1d7aa03e81fd3ce949ac9f291d0.tar.gz
serverdata-95314603c1c4b1d7aa03e81fd3ce949ac9f291d0.tar.bz2
serverdata-95314603c1c4b1d7aa03e81fd3ce949ac9f291d0.tar.xz
serverdata-95314603c1c4b1d7aa03e81fd3ce949ac9f291d0.zip
Running out of battery - fix some items
-rw-r--r--db/re/item_db.conf35
1 files changed, 15 insertions, 20 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 6f22373b..5caa4847 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -1234,6 +1234,7 @@ item_db: (
Delay: 1000
KeepAfterUse: true
Script: <"
+ sc_start SC_CURSE, 30000, 100;
sc_start SC_POISON, 30000, 100;
dispbottom l("Yuck! I won't drink this!");
">
@@ -1277,20 +1278,15 @@ item_db: (
Id: 611
AegisName: "GrassSeeds"
Name: "Grass Seeds"
- Type: "IT_ETC"
+ Type: "IT_USABLE"
Buy: 200
Sell: 35
Weight: 3
Refine: false
Delay: 500
Script: <"
- if (@useType == 1) {
- if (!getmapxy(.@map$, .@x, .@y, 0)) {
- if (rand(1,10) != 3)
- monster(.@map$, .@x, .@y, l("Clover Patch"), 1033, 1);
- else
- monster(.@map$, .@x, .@y, l("Blame Micksha"), SpringSquirrel, 1);
- }
+ if (!getmapxy(.@map$, .@x, .@y, 0)) {
+ monster(.@map$, .@x, .@y, l("Clover Patch"), CloverPatch, 1);
}
">
},
@@ -1298,20 +1294,16 @@ item_db: (
Id: 612
AegisName: "FlowerSeeds"
Name: "Flower Seeds"
- Type: "IT_ETC"
+ Type: "IT_USABLE"
Buy: 500
Sell: 150
Weight: 4
Refine: false
Delay: 500
Script: <"
- if (@useType == 1) {
- if (!getmapxy(.@map$, .@x, .@y, 0)) {
- if (rand(1,10) != 3)
- monster(.@map$, .@x, .@y, l("Blue Rose"), 1061, 1);
- else
- monster(.@map$, .@x, .@y, l("Blame Micksha"), SpringSquirrel, 1);
- }
+ if (!getmapxy(.@map$, .@x, .@y, 0)) {
+ .@mob=callfunc("any", YellowRose, BlueRose, RedRose);
+ monster(.@map$, .@x, .@y, strmobinfo(1, .@mob), .@mob, 1);
}
">
},
@@ -1319,14 +1311,17 @@ item_db: (
Id: 613
AegisName: "PurificationPotion"
Name: "Purification Potion"
- Type: "IT_HEALING"
+ Type: "IT_USABLE"
Buy: 25000
Sell: 2750
Weight: 25
- Refine: false
- ViewSprite: 612
- BindOnEquip: false
Delay: 1000
+ KeepAfterUse: true
+ Script: <"
+ sc_start SC_CURSE, 30000, 100;
+ sc_start SC_POISON, 30000, 100;
+ dispbottom l("Yuck! I won't drink this!");
+ ">
},
// Generic