Jump to content
  • 0
Sign in to follow this  
skyundersea

Disable Item Drop 0.00%

Question

Hello again, 

i'm having a problem with item drop rates.... i want to totally disable the drop os Etc /Usage /Equip normal mobs and boss drop, i'll select everything that will drop from fake_npc scripts....

 I tried everything at drop conf but always shows 0.01% at @mobinfo, and i still get the itens/cards....

this is my drops.conf

// Configurações de chances que itens comuns são dropados (Qualquer item normal, exceto cartas).
item_rate_common: 0
item_rate_common_boss: 0
item_drop_common_min: 1
item_drop_common_max: 1

// Configurações das chances que itens de cura são dropados (Itens que recuperam hp e sp).
item_rate_heal: 0
item_rate_heal_boss: 0
item_drop_heal_min: 1
item_drop_heal_max: 1

// Configurações das chances que outros itens usáveis são dropados, fora os itens de cura.
item_rate_use: 0
item_rate_use_boss: 0
item_drop_use_min: 1
item_drop_use_max: 1

// Configurações das chances que os equipamentos são dropados.
item_rate_equip: 0
item_rate_equip_boss: 0
item_drop_equip_min: 1
item_drop_equip_max: 1

// Configurações das chances que as cartas são dropadas.
item_rate_card: 0
item_rate_card_boss: 0
item_drop_card_min: 1
item_drop_card_max: 1

// Configurações das chances que os itens MVP são dropados. (direto no seu inventário)
item_rate_mvp: 0
item_drop_mvp_min: 1
item_drop_mvp_max: 1

// Configurações das chances que os itens são dropados por itens geradores de itens. (Ex: Velho Álbum de Cartas)
item_rate_adddrop: 0
item_drop_add_min: 1
item_drop_add_max: 1

// Configurações das chances que os itens dropados por tesouros. (Ex:Báu do Tesouro)
item_rate_treasure: 0
item_drop_treasure_min: 1
item_drop_treasure_max: 1

Also this one to allow mob have 0 itens dropped:

drop_rate0item: yes

is there another place to configure this to make it 0.00%? only some mobs go to 0.00%.... but majority stays 0.01%, can someone help?

thank you!

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

1. place mf_nomobloot and mf_nomvploot mapflags on all maps

or

2. change this condition into if(0) in mob_dead function

	if( !(type&1) && !map->list[m].flag.nomobloot && !md->state.rebirth && (
		md->special_state.ai == AI_NONE || //Non special mob
		battle_config.alchemist_summon_reward == 2 || //All summoned give drops
		(md->special_state.ai == AI_SPHERE && battle_config.alchemist_summon_reward == 1) //Marine Sphere Drops items.
		) )
	{ // Item Drop

 

btw you shouldn't change the rate if you want to give away via scripts
there is a script command *getmobdrops , the rates are affected by that battle config

Edited by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0
30 minutes ago, AnnieRuru said:

place mf_nomobloot and mf_nomvploot mapflags on all maps

This flag will affect scripts like "getitem" and "makeitem" ? or just mobs DB drops?

if doesnt affect will be perfect for me i'll test it, thank you !

Share this post


Link to post
Share on other sites
  • 0

mf_nomobloot and mf_nomvploot only disable item drop on specific map ... useful for events

if you want to give item away via scripting then do

OnNPCKillEvent:
	getmobdrops killedrid;
	for ( .@i = 0; .@i < $@MobDrop_count; ++.@i )
		if ( rand(10000) < $@MobDrop_rate[.@i] )
			getitem $@MobDrop_item[.@i], 1;

 

no, like I said, don't touch the drop rate in battle config, leave it as it is ...

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.