Retti C Posted March 19, 2023 Posted March 19, 2023 I want to remove the knights directional facing requirement for auto counter. I'm rather lost on how to do this could someone shine a light? Quote
0 ryzenthird Posted April 9, 2023 Posted April 9, 2023 i think this is source code related? and not script related? Quote
0 joecalis Posted May 1, 2023 Posted May 1, 2023 in battle.cpp Find: if (dist <= 0 || (!map_check_dir(dir,t_dir) && dist <= tstatus->rhw.range+1)) { uint16 skill_lv = tsc->getSCE(SC_AUTOCOUNTER)->val1; Change to: if (dist <= 0 || (dist <= tstatus->rhw.range+1)) { uint16 skill_lv = tsc->getSCE(SC_AUTOCOUNTER)->val1; I guess you can delete these too since it's not getting used: uint8 dir = map_calc_dir(target,src->x,src->y); int t_dir = unit_getdir(target); Quote
Question
Retti C
I want to remove the knights directional facing requirement for auto counter. I'm rather lost on how to do this could someone shine a light?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.