summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-27 12:45:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-27 12:45:36 -0300
commitb2b23ca21ce72241bedb47828d9823aec8478cfb (patch)
tree687cb50d5de0e4216e98d261eacd618054a1dfbc /db
parent9ae02a53288cf5b6d3b399c339ef6853164dd811 (diff)
downloadserverdata-b2b23ca21ce72241bedb47828d9823aec8478cfb.tar.gz
serverdata-b2b23ca21ce72241bedb47828d9823aec8478cfb.tar.bz2
serverdata-b2b23ca21ce72241bedb47828d9823aec8478cfb.tar.xz
serverdata-b2b23ca21ce72241bedb47828d9823aec8478cfb.zip
Mystery Fruit: You don't know what it is until you eat it.
Effects are omitted, but status reset will return the correct fruit.
Diffstat (limited to 'db')
-rw-r--r--db/re/item_db.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 8a7acb0ef..4a6a9ee97 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -14808,6 +14808,43 @@ item_db: (
STATUSUP_LUK+=1;
">
},
+{
+ Id: 8006
+ AegisName: "MysteryFruit"
+ Name: "Mystery Fruit"
+ Type: "IT_USABLE"
+ Buy: 500000
+ Sell: 1500
+ Weight: 10
+ Delay: 500
+ Script: <"
+ .@r=callfunc("rand2", bStr, bLuk);
+ switch (.@r) {
+ case bStr:
+ STATUSUP_STR+=1;
+ break;
+ case bAgi:
+ STATUSUP_AGI+=1;
+ break;
+ case bVit:
+ STATUSUP_VIT+=1;
+ break;
+ case bInt:
+ STATUSUP_INT+=1;
+ break;
+ case bDex:
+ STATUSUP_DEX+=1;
+ break;
+ case bLuk:
+ STATUSUP_LUK+=1;
+ break;
+ default: // Error
+ getitem callfunc("any", StrengthFruit, AgilityFruit, VitalityFruit, IntelligenceFruit, DexterityFruit, LuckFruit), 1;
+ end;
+ }
+ statusup2(.@r, 1);
+ ">
+},
)