From 7012e7c9dea40a5cbc03f2d8d518db9d964482aa Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 7 Oct 2019 22:01:14 -0300 Subject: 50% chance of upon using Maggot Slime Potion, a Maggot is summoned --- db/re/item_db.conf | 5 +++++ 1 file changed, 5 insertions(+) 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"; "> }, -- cgit v1.2.3-70-g09d2