summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-07 22:01:14 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-07 22:02:15 -0300
commit7012e7c9dea40a5cbc03f2d8d518db9d964482aa (patch)
tree3b45d0fe338ba4207d833f64e6c5d3e901f3ef12
parent498d9423bb44e57307f5330d314a7d0750a7f30e (diff)
downloadserverdata-seeds/maggotslimepotion.tar.gz
serverdata-seeds/maggotslimepotion.tar.bz2
serverdata-seeds/maggotslimepotion.tar.xz
serverdata-seeds/maggotslimepotion.zip
50% chance of upon using Maggot Slime Potion, a Maggot is summonedseeds/maggotslimepotion
-rw-r--r--db/re/item_db.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 0632825b..2dc59cd7 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -1316,6 +1316,11 @@ item_db: (
@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";
">
},