Jump to content
  • 0

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


Question

Posted (edited)

 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

1 answer to this question

Recommended Posts

  • 0
Posted

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.

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