summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-08 01:26:00 +0000
committerJesusaves <cpntb1@ymail.com>2019-10-08 01:26:00 +0000
commitabc30f2cf5ebde4c90393fe02c8e8ec817f6557c (patch)
tree3b45d0fe338ba4207d833f64e6c5d3e901f3ef12 /db
parent15aeab5251840af0ab28da40f7cbbbdb39ad1f7a (diff)
downloadserverdata-abc30f2cf5ebde4c90393fe02c8e8ec817f6557c.tar.gz
serverdata-abc30f2cf5ebde4c90393fe02c8e8ec817f6557c.tar.bz2
serverdata-abc30f2cf5ebde4c90393fe02c8e8ec817f6557c.tar.xz
serverdata-abc30f2cf5ebde4c90393fe02c8e8ec817f6557c.zip
Maggot Slime Potion
I thought it might be fun to entertain the idea of a maggot slime potion. Hope you all like! 😄 ---- @WildX : Seems like a good vendor item for Hurnscald general goods and maybe a rare drop from some humanoid mob, I'd like to keep manmade things like potions as items that are dropped by humanoids since it makes little sense for a maggot to carry a bottled potion with it.
Diffstat (limited to 'db')
-rw-r--r--db/re/item_db.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 141196ff..2dc59cd7 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -1300,6 +1300,31 @@ item_db: (
">
},
{
+ Id: 567
+ AegisName: "MaggotSlimePotion"
+ Name: "Maggot Slime Potion"
+ Type: "IT_HEALING"
+ Buy: 75
+ Sell: 15
+ Weight: 15
+ Refine: false
+ ViewSprite: 567
+ Delay: 450
+ UseEffect: "EFFECT_HEAL"
+ Script: <"
+ @min = 10;
+ @max = 130;
+ @delay = 2;
+ @type = 1;
+ if (rand(100) < 50) {
+ getmapxy(.@m$, .@x, .@y, 0);
+ .@mobGID = monster(.@m$, .@x, .@y, "Maggot", Maggot, 1);
+ unitattack(.@mobGID, getcharid(3));
+ }
+ doevent "rand_sc_heal::OnUse";
+ ">
+},
+{
Id: 600
AegisName: "SmallHealing"
Name: "Small Healing Potion"