Sign in to follow this  

Landing hit priority

Recommended Posts


I'm trying to identify the priority of landing a hit by going over the rAthena code in battle.cpp. I found that the priority is

Lucky Dodge -> if fail -> MultiHit Skill -> if fail -> Crit -> if fail -> flee -> if fail -> landing a hit

All this is from helvetica's comments on battle_calc_weapon_attack function. But I can't understand the place of various skills in this chain, like pneuma/safety wall/guard/parrying/cicada skin shed, etc. I found on iroWiki that Kyrie Eleison is calculated after the flee part, cicada skin shed is the last one to calculate (after kyrie), but I cannot see this from the code, neither to identify the place of other "blocking/missing" skills. Can you guide me to where is to look for please?


Best regards.

Edited by Yojix

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this