Jump to content
  • 0

Disabling skills for GM


darking123

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

How to disable GM account from using any kind of skills?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

skill.c
 

sd = BL_CAST(BL_PC, src);
	tsd = BL_CAST(BL_PC, bl);
+	if (pc_get_group_level (sd) > 0)
+		return 0;
	sstatus = status_get_status_data(src);
	tstatus = status_get_status_data(bl);

untested

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

skill.c

 

sd = BL_CAST(BL_PC, src);
	tsd = BL_CAST(BL_PC, bl);
+	if (pc_get_group_level (sd) > 0)
+		return 0;
	sstatus = status_get_status_data(src);
	tstatus = status_get_status_data(bl);

untested

doesn't work sir

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