Jump to content
  • 0

Disable GM monster drops


Question

2 answers to this question

Recommended Posts

  • 2
Posted (edited)
41 minutes ago, Mael said:

hi rAthena ? !

Could someone update this guide? It would be very nice to be able to have this modification back, it is very useful!

https://github.com/rathena/rathena/wiki/Disable_GM_monster_drops

thanks in advance.

in mob.c

- pc_isGM(sd)

+ pc_get_group_level(sd)

Try this one:

	if( (mvp_sd && pc_get_group_level(mvp_sd)) || (sd && pc_get_group_level(sd)) ) {
		if( mvp_sd && pc_get_group_level(mvp_sd) < battle_config.gm_monsterdrop_lv ) type |= 1;
	else
		if( sd && pc_get_group_level(sd) < battle_config.gm_monsterdrop_lv ) type |= 1;
	}

It should work, i tested mine here.

Edited by Royr
  • Upvote 3

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