Eraumavez Posted July 10, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 01/22/20 Last Seen: December 27, 2023 Share Posted July 10, 2020 (edited) how do i make the skill cart termination dont be reflected and ignore skills like NJ_UTSUSEMI I've trying to do this but it didn't worked. Edited July 10, 2020 by Eraumavez Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted July 13, 2020 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: April 16 Share Posted July 13, 2020 2 hours ago, Eraumavez said: First of all i would like to say thanks for u reply, but it didn't worked (yes i've recompilated). } else { if ( sc->data[SC_REFLECTSHIELD] && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO ) { // Don't reflect non-skill attack if has SC_REFLECTSHIELD from Devotion bonus inheritance if (!skill_id && battle_config.devotion_rdamage_skill_only && sc->data[SC_REFLECTSHIELD]->val4) rdamage = 0; else { rdamage += damage * sc->data[SC_REFLECTSHIELD]->val2 / 100; if (rdamage < 1) rdamage = 1; } } 1 Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted July 11, 2020 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 748 Reputation: 47 Joined: 03/12/14 Last Seen: April 16 Share Posted July 11, 2020 5 hours ago, Eraumavez said: how do i make the skill cart termination dont be reflected and ignore skills like NJ_UTSUSEMI I've trying to do this but it didn't worked. https://github.com/rathena/rathena/blob/master/src/map/battle.cpp#L7302 if (flag & BF_SHORT) {//Bounces back part of the damage. if ( (skill_get_inf2(skill_id, INF2_ISTRAP) || !status_reflect) && sd && sd->bonus.short_weapon_damage_return ) { rdamage += damage * sd->bonus.short_weapon_damage_return / 100; rdamage = i64max(rdamage,1); } else if( status_reflect && sc && sc->count ) { if( sc->data[SC_REFLECTSHIELD] ) { struct status_change_entry *sce_d; struct block_list *d_bl = NULL; NO Reflect CT & Desperado if ( (skill_get_inf2(skill_id)&INF2_TRAP || !status_reflect) && sd && sd->bonus.short_weapon_damage_return && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO ) { 2 Quote Link to comment Share on other sites More sharing options...
0 Eraumavez Posted July 13, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 01/22/20 Last Seen: December 27, 2023 Author Share Posted July 13, 2020 On 7/10/2020 at 9:12 PM, Bringer said: https://github.com/rathena/rathena/blob/master/src/map/battle.cpp#L7302 if (flag & BF_SHORT) {//Bounces back part of the damage. if ( (skill_get_inf2(skill_id, INF2_ISTRAP) || !status_reflect) && sd && sd->bonus.short_weapon_damage_return ) { rdamage += damage * sd->bonus.short_weapon_damage_return / 100; rdamage = i64max(rdamage,1); } else if( status_reflect && sc && sc->count ) { if( sc->data[SC_REFLECTSHIELD] ) { struct status_change_entry *sce_d; struct block_list *d_bl = NULL; NO Reflect CT & Desperado if ( (skill_get_inf2(skill_id)&INF2_TRAP || !status_reflect) && sd && sd->bonus.short_weapon_damage_return && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO ) { First of all i would like to say thanks for u reply, but it didn't worked (yes i've recompilated). Quote Link to comment Share on other sites More sharing options...
0 Eraumavez Posted July 16, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 01/22/20 Last Seen: December 27, 2023 Author Share Posted July 16, 2020 On 7/13/2020 at 1:33 AM, Bringer said: } else { if ( sc->data[SC_REFLECTSHIELD] && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO ) { // Don't reflect non-skill attack if has SC_REFLECTSHIELD from Devotion bonus inheritance if (!skill_id && battle_config.devotion_rdamage_skill_only && sc->data[SC_REFLECTSHIELD]->val4) rdamage = 0; else { rdamage += damage * sc->data[SC_REFLECTSHIELD]->val2 / 100; if (rdamage < 1) rdamage = 1; } } Worked, thank ^^' Quote Link to comment Share on other sites More sharing options...
Question
Eraumavez
how do i make the skill cart termination dont be reflected and ignore skills like NJ_UTSUSEMI
I've trying to do this but it didn't worked.
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.