• 0
Sign in to follow this  
Mael

Disable GM monster drops

Question

2 answers to this question

Recommended Posts

  • 1
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 2

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

Loading...
Sign in to follow this