Styx15 Posted October 20, 2021 Group: Members Topic Count: 25 Topics Per Day: 0.02 Content Count: 48 Reputation: 0 Joined: 09/28/20 Last Seen: 5 hours ago Share Posted October 20, 2021 (edited) Hello .. i need help how to set death bound active reflect to range skill damage.. because in my server death bound only reflect mele hit / skill not range.. where i can set that ? in skilldb ? or src ? i hope somebody can help me.. thank you before...Src Death Bound (RK) if (sc->data[SC_DEATHBOUND] && skill_id != WS_CARTTERMINATION && skill_id != GN_HELLS_PLANT_ATK && !status_bl_has_mode(src,MD_STATUSIMMUNE)) { if (distance_bl(src,bl) <= 0 || !map_check_dir(map_calc_dir(bl,src->x,src->y), unit_getdir(bl))) { int64 rd1 = 0; rd1 = min(damage,status_get_max_hp(bl)) * sc->data[SC_DEATHBOUND]->val2 / 100; // Amplify damage. *dmg = rd1 * 80 / 100; // Received damage = 80% of amplified damage. clif_skill_damage(src, bl, gettick(), status_get_amotion(src), 0, -30000, 1, RK_DEATHBOUND, sc->data[SC_DEATHBOUND]->val1, DMG_SINGLE); skill_blown(bl, src, skill_get_blewcount(RK_DEATHBOUND, 1), unit_getdir(src), BLOWN_NONE); status_change_end(bl, SC_DEATHBOUND, INVALID_TIMER); rdamage += rd1 * 100 / 100; // Target receives 100% of the amplified damage. [Rytech] } } Edited October 20, 2021 by Mael Use codebox Quote Link to comment Share on other sites More sharing options...
Question
Styx15
Hello ..
i need help how to set death bound active reflect to range skill damage..
because in my server death bound only reflect mele hit / skill not range..
where i can set that ? in skilldb ? or src ?
i hope somebody can help me..
thank you before...Src Death Bound (RK)
Use codebox
Link to comment
Share on other sites
0 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.