Jump to content
  • 0

Crit +1 per skill level


Question

4 answers to this question

Recommended Posts

  • 0
Posted

In status.cpp, under the status_calc_pc_sub function

 

Under this code block:

#ifdef RENEWAL
	if ((skill = pc_checkskill(sd, DC_DANCINGLESSON)) > 0)
		base_status->cri += skill * 10;
	if ((skill = pc_checkskill(sd, PR_MACEMASTERY)) > 0 && (sd->status.weapon == W_MACE || sd->status.weapon == W_2HMACE))
		base_status->cri += skill * 10;
#endif

 

Insert:

if ((skill = pc_checkskill(sd, PD_MACEMASTERY)) > 0)
		base_status->cri += skill * 10;

 

  • Upvote 1
  • 0
Posted
On 8/5/2021 at 4:06 PM, Dazzu said:

In status.cpp, under the status_calc_pc_sub function

 

Under this code block:


#ifdef RENEWAL
	if ((skill = pc_checkskill(sd, DC_DANCINGLESSON)) > 0)
		base_status->cri += skill * 10;
	if ((skill = pc_checkskill(sd, PR_MACEMASTERY)) > 0 && (sd->status.weapon == W_MACE || sd->status.weapon == W_2HMACE))
		base_status->cri += skill * 10;
#endif

 

Insert:


if ((skill = pc_checkskill(sd, PD_MACEMASTERY)) > 0)
		base_status->cri += skill * 10;

 

Hi I cant find those lines on my status.cpp sir 

 

  • 0
Posted
6 hours ago, Dazzu said:

I see it in the rAthena repo.

image.png.0bc8877cf78d7c8dd0bd0e2b0e47b075.png

Look harder.

 

Hi ! thanks for your help ! ive already done it by adding manually .. Thanks for your help sir !

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...