gemeru_boy Posted August 11, 2020 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 07/31/20 Last Seen: August 20, 2020 Share Posted August 11, 2020 Hola buen dia, tengo esto en batle.cif (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 && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO) { 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; Logrè que weapon_damage_return fuera ignorado por cart y por desperado, lo que no logro es que el daño no sea reflejado cuando el ataque es bloqueado o hay miss (auto guard o safety wall), este es el asunto del reflect de la ORC y la valky manteau que aunque el oponente esta en safetywall o el auto guard hace un proc aun asi el daño es reflejado, quiero evitar eso, se que hay una variable ATK_BLOCK que puede ayudar pero nosè como usarla, la verdad soy malisimo para la programaciòn gracias por la ayuda Quote Link to comment Share on other sites More sharing options...
Gantz_ Posted January 30, 2021 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 09/17/20 Last Seen: December 11, 2022 Share Posted January 30, 2021 Lo solucionaste? Quote Link to comment Share on other sites More sharing options...
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.