Jump to content
  • 0
Mael

Disable GM monster drops

Question

2 answers to this question

Recommended Posts

  • 1
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
Link to comment
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.



×
×
  • Create New...

Important Information

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