ikaris_ Posted October 18, 2022 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
0 ikaris_ Posted October 21, 2022 Author 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
0 Yami Posted February 27, 2023 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
0 ikaris_ Posted March 26, 2023 Author 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
0 ikaris_ Posted March 26, 2023 Author 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
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
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.