Zephyr Posted December 29, 2012 Posted December 29, 2012 File Name: [Mapflag] Mobitemadder File Submitter: Zephyr File Submitted: 28 Dec 2012 File Category: Source Modifications Content Author: Zephyr This mapflag sets more drops for monsters at the map that it's been attached. Sintax: mapname<TAB>mapflag<TAB>mobitemadder<TAB>mob_id,item_id,drop_per{,item_id,drop_per(...)} You can set up to ~50 more items for mobs. "drop_per" is the chance of drop, from 1 (0,01%) to 10000 (100%). There's an example at the screenshot, I setted a Yggdrasil Berry with 100% of chance for the Poring at prt_fild08 map. You can set a lot of mobs, but you have to set more mapflags for your maps. Click here to download this file 7 2 Quote
Syouji Posted January 4, 2013 Posted January 4, 2013 Very useful as an alternative to editing the mob_db all the time if you wanted custom drops. Thanks a lot. =) Quote
Linkin Park Posted January 19, 2013 Posted January 19, 2013 (edited) I'm having a problem with this. Sometimes it drops random items like refined sakkat box. I'm using mobitemadder mapflag for 3 monsters on the same map and 1 monster is dropping refined sakkat box. Others drop Falcon Flute. Edited January 19, 2013 by RaGERO Quote
Limestone Posted January 23, 2013 Posted January 23, 2013 yeah, i encountered same problem with RaGERO Quote
Zephyr Posted February 16, 2013 Author Posted February 16, 2013 This mapflag doesn't affect the original mob drops, they will drop the original drops setted on mob_db AND the drops setted at the mapflag. Quote
Limestone Posted February 16, 2013 Posted February 16, 2013 yes we know that, but sometimes it drops items w/o in the mob_db and set items in mapflag Quote
Cydh Posted February 16, 2013 Posted February 16, 2013 nice mod, I'll implement and test later.. haha Quote
arzzzae Posted March 10, 2013 Posted March 10, 2013 (edited) Getting an error when I tried to recompile my server. Nevermind. Got it working now. Thanks for the release! Edited March 10, 2013 by arzzzae Quote
grenat50 Posted April 22, 2020 Posted April 22, 2020 (edited) Hi ! Is there an updated version of it? I tried the current one but I'm having a strange issue: It works, 4 grapes are appearing only when I kill poring and only in Rachel as defined BUT with 2 staffs + 1 unknown item. rachel mapflag mobitemadder 1002,514,10000,514,10000,514,10000,514,10000 Edited April 22, 2020 by grenat50 Quote
darbladerxx Posted September 13, 2020 Posted September 13, 2020 On 4/21/2020 at 11:33 PM, grenat50 said: Hi ! Is there an updated version of it? I tried the current one but I'm having a strange issue: It works, 4 grapes are appearing only when I kill poring and only in Rachel as defined BUT with 2 staffs + 1 unknown item. rachel mapflag mobitemadder 1002,514,10000,514,10000,514,10000,514,10000 +1 for update. Quote
EveeX Posted September 16, 2020 Posted September 16, 2020 Amazing work, but needs a fix, i can work in that, someday i comment the solution in this post. +1 if you need 1 1 Quote
EveeX Posted September 16, 2020 Posted September 16, 2020 To fix the error about the random drop items is: // Mapflag 'mobitemadder' (Zephyr) if( map[m].mobitemadder_droplist[0].mob_id == md->mob_id ) { // for( i = 1; i < sizeof( map[m].mobitemadder_droplist ); i = i + 1 ) <----- Change this for( i = 1; i < sizeof( map[m].mobitemadder_droplist[0].item_id ); i = i + 1 ) <----- Add this 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.