Jump to content
  • 0

critical strike even 1 luk or 500 luk and 500 luk with no critical


innocentarms

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  22
  • Reputation:   1
  • Joined:  12/18/20
  • Last Seen:  

 how i can edit luk even 1 luk or 500 luk it will critical          ( no white damage )  thank you

then alternate even luk is 1 to 500 no critical              ( no yellow damage ) thank you

Edited by innocentarms
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   35
  • Joined:  07/04/19
  • Last Seen:  

if you simply want to make every autoattack always crit:

find the function "is_attack_critical" in src/map/battle.cpp

and add this line at the end:

switch(skill_id) {
	case 0:
	    return true; // <<<<<<<<<<<<<<<<<<<<<<<<<<<< Add this line
		if(sc && !sc->data[SC_AUTOCOUNTER])
			break;
		clif_specialeffect(src, EF_AUTOCOUNTER, AREA);
		status_change_end(src, SC_AUTOCOUNTER, INVALID_TIMER);
	case KN_AUTOCOUNTER:
    .....

save&recompile and all auto attacks will always crit.

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