Retti C Posted March 19, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 03/12/23 Last Seen: April 4, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 ryzenthird Posted April 9, 2023 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 23 Reputation: 3 Joined: 10/31/12 Last Seen: February 17, 2024 Share Posted April 9, 2023 i think this is source code related? and not script related? Quote Link to comment Share on other sites More sharing options...
0 joecalis Posted May 1, 2023 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 64 Reputation: 41 Joined: 03/26/12 Last Seen: March 29 Share 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 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.