Jump to content
  • 0

The PVP and GVG's maximum aspd


minijoe

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  11/14/15
  • Last Seen:  

Hi!

 

How to increase the PVP and GVG's maximum aspd in "battle config"?

 

I add "pvp_max_aspd" and "gvg_max_aspd" to "player.conf".

 

and "battle.h":

	int pvp_max_aspd;
	int gvg_max_aspd;

and "battle.c":

	{ "pvp_max_aspd",                           &battle_config.pvp_max_aspd,                        190,    100,    199,            },
	{ "gvg_max_aspd",                           &battle_config.gvg_max_aspd,                        190,    100,    199,            },

Then how to modify in "pc.c" or other places?

short pc_maxaspd(struct map_session_data *sd) {
	nullpo_ret(sd);

	return (( sd->class_&JOBL_THIRD) ? battle_config.max_third_aspd : (
			((sd->class_&MAPID_UPPERMASK) == MAPID_KAGEROUOBORO || (sd->class_&MAPID_UPPERMASK) == MAPID_REBELLION) ? battle_config.max_extended_aspd :
			battle_config.max_aspd ));
}
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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