Jump to content
  • 0
milk

Remove drop form slave mobs

Question

Hello community!

 

I have a question: is it possible to remove drop from slave mobs without editing mob_db? For example: White Lady summoning Green Maiden, who drops Bao Bao, and every time when player killing slave mob - it drops this item again and again. Many players like to abuse it.

Is it any way to fix it?

 

Thanks for advance! c:

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Umm, why so rather radical changes as to remake mobs or remove drops >.<

One relativly small source edit can fix all the problems and for all slave mobs. I've been thinking of pulling option such as this inside actual Herc, but

1) I'm lazy

2) I'm not good with git.

 

mob.c, mob_dead:

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

change to

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

 

Now, next:

		if(sd) {			// process script-granted extra drop bonuses			int itemid = 0;

to

		if(sd && !md->master_id) {			// process script-granted extra drop bonuses			int itemid = 0;

 

Now ultimately most (if not all) non-special monsters with items drops should not drop anything (and I mean anything. Not predefined loots, and not script(item)-granted loots) if they are slaves to some other one.

Edited by Garr

Share this post


Link to post
Share on other sites
  • 0

I think it will only drop once.

Now it drops from each mob summoned by boss-monster.

Share this post


Link to post
Share on other sites
  • 0

I think the best solution for that is to make another mob that has the same sprite of Green Maiden then remove the drop. anyways lets wait for others response if it can do without editing mob_db

Share this post


Link to post
Share on other sites
  • 0

Btw, eAmod have this feature in battleconf:

 

// ****************************************// Fixeds - Balance// ****************************************// Does slaves monsters can give "item granded drop"?// As YES is the official setting, this can prevent a serious exploid with users making lot of items and money with Dracula slaves.mob_slave_adddrop: no

 

But I can't understand how it works, because I'm sooo noob in C :c

Share this post


Link to post
Share on other sites
  • 0

this eAmod setting is for card granted item drops, not normal drops, if you want a monster to not drop item, just remove items from its entry in mob_db

Share this post


Link to post
Share on other sites
  • 0

Umm, why so rather radical changes as to remake mobs or remove drops >.<

One relativly small source edit can fix all the problems and for all slave mobs. I've been thinking of pulling option such as this inside actual Herc, but

1) I'm lazy

2) I'm not good with git.

 

mob.c, mob_dead:

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

change to

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

 

Now, next:

		if(sd) {			// process script-granted extra drop bonuses			int itemid = 0;

to

		if(sd && !md->master_id) {			// process script-granted extra drop bonuses			int itemid = 0;

 

Now ultimately most (if not all) non-special monsters with items drops should not drop anything (and I mean anything. Not predefined loots, and not script(item)-granted loots) if they are slaves to some other one.

 

 

Thank you very much. Again c:

 

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...

×
×
  • Create New...

Important Information

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