Jump to content

Recommended Posts

Posted

index.php?app=downloads&module=display&section=screenshot&id=2746

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

  • Upvote 7
  • Love 2
  • 3 weeks later...
Posted (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 by RaGERO
  • 4 weeks later...
  • 3 weeks later...
  • 7 months later...
  • 6 years later...
Posted (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

434296721_screenDivineAscensionRO016.jpg.1a31b4a7364c62de144f2b394ba89820.jpg

Edited by grenat50
  • 4 months later...
Posted
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

434296721_screenDivineAscensionRO016.jpg.1a31b4a7364c62de144f2b394ba89820.jpg

+1 for update.

Posted

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

 

  • Like 1
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...