rans Posted February 26, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 429 Reputation: 60 Joined: 08/19/12 Last Seen: Monday at 03:34 AM Share Posted February 26, 2014 Hi,i wonder if anyone know how to make this "devotion_rdamage: 100" effective to Magical Reflection toocause i tested this.. pally only absorb physical reflection. not magical... anyone know how to make this effectiv to magical too?Thank you Quote Link to comment Share on other sites More sharing options...
Blazing Spear Posted February 26, 2014 Group: Members Topic Count: 58 Topics Per Day: 0.01 Content Count: 208 Reputation: 1 Joined: 01/06/12 Last Seen: July 2, 2016 Share Posted February 26, 2014 if( tsc && tsc->data[SC_DEVOTION] && skill_id != PA_PRESSURE ) { struct status_change_entry *sce = tsc->data[SC_DEVOTION]; struct block_list *d_bl = map_id2bl(sce->val1); if( d_bl && ( (d_bl->type == BL_MER && ((TBL_MER*)d_bl)->master && ((TBL_MER*)d_bl)->master->bl.id == bl->id) || (d_bl->type == BL_PC && ((TBL_PC*)d_bl)->devotion[sce->val2] == bl->id) ) && check_distance_bl(bl, d_bl, sce->val3) ) { if(!rmdamage){ clif_damage(d_bl,d_bl, gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage(NULL,d_bl, damage, 0); } else {//Reflected magics are done directly on the target not on paladin //This check is only for magical skill. //For BF_WEAPON skills types track var rdamage and function battle_calc_return_damage clif_damage(bl,bl, gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage(bl,bl, damage, 0); } } else { status_change_end(bl, SC_DEVOTION, INVALID_TIMER); if( !dmg.amotion ) status_fix_damage(src,bl,damage,dmg.dmotion); } } Edit that code Quote Link to comment Share on other sites More sharing options...
rans Posted February 26, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 429 Reputation: 60 Joined: 08/19/12 Last Seen: Monday at 03:34 AM Author Share Posted February 26, 2014 if( tsc && tsc->data[SC_DEVOTION] && skill_id != PA_PRESSURE ) { struct status_change_entry *sce = tsc->data[SC_DEVOTION]; struct block_list *d_bl = map_id2bl(sce->val1); if( d_bl && ( (d_bl->type == BL_MER && ((TBL_MER*)d_bl)->master && ((TBL_MER*)d_bl)->master->bl.id == bl->id) || (d_bl->type == BL_PC && ((TBL_PC*)d_bl)->devotion[sce->val2] == bl->id) ) && check_distance_bl(bl, d_bl, sce->val3) ) { if(!rmdamage){ clif_damage(d_bl,d_bl, gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage(NULL,d_bl, damage, 0); } else {//Reflected magics are done directly on the target not on paladin //This check is only for magical skill. //For BF_WEAPON skills types track var rdamage and function battle_calc_return_damage clif_damage(bl,bl, gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage(bl,bl, damage, 0); } } else { status_change_end(bl, SC_DEVOTION, INVALID_TIMER); if( !dmg.amotion ) status_fix_damage(src,bl,damage,dmg.dmotion); } } Edit that code Ohw hi, Thanks for your reply ... i'm asking if anyone Know HOW TO MAKE it cause i don't know how and im not a pro-scripter hehehe Quote Link to comment Share on other sites More sharing options...
Erba Posted March 11, 2014 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Share Posted March 11, 2014 bump Quote Link to comment Share on other sites More sharing options...
Question
rans
Hi,

i wonder if anyone know how to make this "devotion_rdamage: 100" effective to Magical Reflection too
cause i tested this.. pally only absorb physical reflection. not magical...
anyone know how to make this effectiv to magical too?
Thank you
Link to comment
Share on other sites
3 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.