Remove drop form slave mobs

milk

New member
Messages
91
Points
0
Location
/dev/urandom
Emulator
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:

 
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

 
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

 
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

 
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.

 
Last edited by a moderator:
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:

 
Back
Top