Without parsing this properly my brain guesses you want your hit rate to be:
max(min(100 / (modifier * target_evade) - (if critical then 1.0 else 0.8) + (100 / accuracy), 0.2), 1)
Which looks like the legacy EOSERV formula. The now recommended formula is/was:
hit_rate = 2 target_evade 1 + target_evade 1 + accuracy 2 + - / * 0 - exp 1 + 1 /
However, clone is currently using this as it behaves closer to the official server:
hit_rate = 2 target_evade * accuracy / 0.5 0 accuracy target_evade + = ? 0.2 max 0.8 min
---
http://sordie.co.uk
http://twitter.com/@SordieEO