Jump to content
  • 0

Disable GM monster drops


Mael

Question


  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

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.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 2

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  90
  • Reputation:   34
  • Joined:  10/01/18
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

thanks @Royr! works fine now ? 

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