Jump to content
  • 0

How can passive skills like Double Attack be affected by critical?


Question

Posted

Hello guys.

KRO was updated a few weeks ago.

-Some continuous hitting skills that are activated as passive will change to Critical when activated.

Skill list : Double attack, Chain action, Kagemusha, Triple attack and Fear breeze.

So I tried to apply them. Buy I don't know programming language.

I ask for your help.


 

13 answers to this question

Recommended Posts

  • 0
Posted

Requires packet capturing as the current packet data doesn't support to combine crit with skill. But of course you could just put that into the damage calculation like Focused Arrow Strike:

	if( !(wd.type&DMG_MULTI_HIT) && sstatus->cri && (!skill_id ||
		skill_id == KN_AUTOCOUNTER || skill_id == SN_SHARPSHOOTING ||
		skill_id == MA_SHARPSHOOTING || skill_id == NJ_KIRIKAGE))

Though this code also checks that it's not a multi hit, so I guess further modifications might be needed.

  • 0
Posted
On 3/10/2017 at 8:49 PM, Playtester said:

Requires packet capturing as the current packet data doesn't support to combine crit with skill. But of course you could just put that into the damage calculation like Focused Arrow Strike:


	if( !(wd.type&DMG_MULTI_HIT) && sstatus->cri && (!skill_id ||
		skill_id == KN_AUTOCOUNTER || skill_id == SN_SHARPSHOOTING ||
		skill_id == MA_SHARPSHOOTING || skill_id == NJ_KIRIKAGE))

Though this code also checks that it's not a multi hit, so I guess further modifications might be needed.

Should it be

 if ( wd.type&DMG_MULTI_HIT && Skill ID )?
	

  • 0
Posted
6 hours ago, Playtester said:

No, just look how it's done with other skills if you want to add skills here. Or remove the check for multi hit if you want it to work with multi hit.

I tried to bypass the check for multi-hit with adding 

&& !(skill_id == TF_DOUBLE)

It works all double attack now are crit even with double attack but the problem is that it doesn't show the yellow damage. I don't know what does it call. Like when you attack double there's a yellow damage showing. 

  • 0
Posted
On 11/28/2017 at 6:13 PM, Playtester said:

You can't show crit on multi-hits. The client doesn't support it.

How come can't? kRO can show it from Ziu's video. Does it need newer client like 2017? or packet issue?

  • 0
Posted
On 2017. 12. 10. at 3:25 PM, iAmGnome said:

This needs a new code indeed got it fully working! Somehow the triple attack skill is not having a crit but its all good.

can i ask what new codes needed?

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