Jump to content
  • 0

Edit Bonuses Stat every base level (HIT/FLEE)


eirwanda

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   3
  • Joined:  11/13/16
  • Last Seen:  

Hi, i have sometrouble on my highrate server its level 500 server

when i reached max level, it give 522 Hit and 522+0 Flee 

i want it only a quarter 

is that possible??

Quote

image.png.1790786fcae6bed2fed4245a1be331a7.png

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.02
  • Content Count:  106
  • Reputation:   1
  • Joined:  09/24/19
  • Last Seen:  

On 9/29/2018 at 3:03 PM, eirwanda said:

Hi, i have sometrouble on my highrate server its level 500 server

when i reached max level, it give 522 Hit and 522+0 Flee 

i want it only a quarter 

is that possible??

 

change:

	// Flee
	stat = status->flee;
	stat += level + status->agi;
	status->flee = cap_value(stat, 1, SHRT_MAX);

to:

	// Flee
	stat = status->flee;
	stat += level/2 + status->agi;
	status->flee = cap_value(stat, 1, SHRT_MAX);

Hit

change:

	// Hit
	stat = status->hit;
	stat += level + status->dex;
	status->hit = cap_value(stat, 1, SHRT_MAX);

To:

	// Hit
	stat = status->hit;
	stat += level/2 + status->dex;
	status->hit = cap_value(stat, 1, SHRT_MAX);

 

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