ikaris_ Posted October 18, 2022 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 09/14/22 Last Seen: April 9, 2023 Share Posted October 18, 2022 Hi everyone, may I know how can I edit this part? Currently my server skill setting for Gate of Hell level 1 ~ 4 is ranged attack, how can I modify this to melee attack? Client 20180620 Quote Link to comment Share on other sites More sharing options...
0 ikaris_ Posted October 21, 2022 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 09/14/22 Last Seen: April 9, 2023 Author Share Posted October 21, 2022 On 10/19/2022 at 4:37 AM, ikaris_ said: Hi everyone, may I know how can I edit this part? Currently my server skill setting for Gate of Hell level 1 ~ 4 is ranged attack, how can I modify this to melee attack? Client 20180620 Issue resolved. Quote Link to comment Share on other sites More sharing options...
0 Yami Posted February 27, 2023 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 111 Reputation: 2 Joined: 01/02/14 Last Seen: June 4, 2023 Share Posted February 27, 2023 On 10/21/2022 at 1:13 AM, ikaris_ said: Issue resolved. How did you resolve this? I'm having same issue with level 4 GOH. Quote Link to comment Share on other sites More sharing options...
0 ikaris_ Posted March 26, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 09/14/22 Last Seen: April 9, 2023 Author Share Posted March 26, 2023 I don't know you using which rathena version. But I edit this part in SRC battle.cpp //Skill Range Criteria if (battle_config.skillrange_by_distance && (src->type&battle_config.skillrange_by_distance) ) { //based on distance between src/target [Skotlex] if (check_distance_bl(src, target, 3)) return BF_SHORT; return BF_LONG; } if (skill_id == SR_GATEOFHELL) { if (skill_lv < 5) return BF_SHORT; else return BF_LONG; } //based on used skill's range if (skill_get_range2(src, skill_id, skill_lv, true) < 5) return BF_SHORT; return BF_LONG; } Quote Link to comment Share on other sites More sharing options...
0 ikaris_ Posted March 26, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 09/14/22 Last Seen: April 9, 2023 Author Share Posted March 26, 2023 On 2/27/2023 at 2:32 PM, Yami said: How did you resolve this? I'm having same issue with level 4 GOH. I don't know you using which rathena version. But I edit this part in SRC battle.cpp //Skill Range Criteria if (battle_config.skillrange_by_distance && (src->type&battle_config.skillrange_by_distance) ) { //based on distance between src/target [Skotlex] if (check_distance_bl(src, target, 3)) return BF_SHORT; return BF_LONG; } if (skill_id == SR_GATEOFHELL) { if (skill_lv < 5) return BF_SHORT; else return BF_LONG; } //based on used skill's range if (skill_get_range2(src, skill_id, skill_lv, true) < 5) return BF_SHORT; return BF_LONG; } Quote Link to comment Share on other sites More sharing options...
Question
ikaris_
Hi everyone, may I know how can I edit this part? Currently my server skill setting for Gate of Hell level 1 ~ 4 is ranged attack, how can I modify this to melee attack?
Client 20180620
Link to comment
Share on other sites
4 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.