Fcuk Posted December 26, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Share Posted December 26, 2012 i tried reverting back the Old devotion but unfortunately i failed ex. Pally 1 is Devoting Champ 1 when champ 1 use asura in Pally 2 . the Pally 1 and Champ 1 do not received any damage even if the Pally 2 uses Reflect shield and reflect set I want that to be Pally 1 will receive the damage of the reflect . Im using the latest rathena from here https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/ Quote Link to comment Share on other sites More sharing options...
Fcuk Posted December 27, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted December 27, 2012 bump ! Quote Link to comment Share on other sites More sharing options...
Fcuk Posted December 28, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted December 28, 2012 bump Quote Link to comment Share on other sites More sharing options...
Patskie Posted December 31, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 56 minutes ago Share Posted December 31, 2012 (edited) on your trunk/src/map/skill.c Remove these lines of codes clif_damage(d_bl, d_bl, gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage(NULL, d_bl, damage, 0); And add these line of codes bool devo_flag = false; /* false = paladin devoing; true = player */ if ( src ) { struct status_change *tsc; tsc = status_get_sc(src); /* Per official standards, following skills should reflect at the bl */ if( (tsc->data[sC_KAITE] && attack_type == BF_MAGIC) || (tsc->data[sC_REFLECTDAMAGE] && attack_type != BF_MAGIC) ) devo_flag = true; } clif_damage( ( (devo_flag) ? bl:d_bl), ( (devo_flag) ? bl:d_bl), gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage( ( (devo_flag) ? bl:NULL), ( (devo_flag) ? bl:d_bl), damage, 0, 0); Recompile your server. I never tested it. Try for yourself. DON'T FORGET TO BACK UP YOUR FILES. Edited December 31, 2012 by Traumatized Quote Link to comment Share on other sites More sharing options...
jutaysxd Posted January 8, 2013 Group: Members Topic Count: 63 Topics Per Day: 0.01 Content Count: 134 Reputation: 1 Joined: 09/29/12 Last Seen: June 27, 2015 Share Posted January 8, 2013 on your trunk/src/map/skill.c Remove these lines of codes clif_damage(d_bl, d_bl, gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage(NULL, d_bl, damage, 0); And add these line of codes bool devo_flag = false; /* false = paladin devoing; true = player */ if ( src ) { struct status_change *tsc; tsc = status_get_sc(src); /* Per official standards, following skills should reflect at the bl */ if( (tsc->data[sC_KAITE] && attack_type == BF_MAGIC) || (tsc->data[sC_REFLECTDAMAGE] && attack_type != BF_MAGIC) ) devo_flag = true; } clif_damage( ( (devo_flag) ? bl:d_bl), ( (devo_flag) ? bl:d_bl), gettick(), 0, 0, damage, 0, 0, 0); status_fix_damage( ( (devo_flag) ? bl:NULL), ( (devo_flag) ? bl:d_bl), damage, 0, 0); Recompile your server. I never tested it. Try for yourself. DON'T FORGET TO BACK UP YOUR FILES. is this working ? Sorry for my bad english Quote Link to comment Share on other sites More sharing options...
Lighta Posted January 8, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted January 8, 2013 ye look not so bad but vcc will probably complain for the devo_flag declaration not at begining of a scope. (so encapsulate all this with {} for easy fix) and you need to add a chk on tsc to avoid mapcrash, otherwise if src == BL_PET => tsc = null => tsc->data == segfault boom. rest look fine Quote Link to comment Share on other sites More sharing options...
Fcuk Posted January 28, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted January 28, 2013 not working . the paladin and the devoted character not receiving any reflect there is no damage on both of them Quote Link to comment Share on other sites More sharing options...
Fcuk Posted January 29, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted January 29, 2013 bump! Quote Link to comment Share on other sites More sharing options...
jutaysxd Posted January 30, 2013 Group: Members Topic Count: 63 Topics Per Day: 0.01 Content Count: 134 Reputation: 1 Joined: 09/29/12 Last Seen: June 27, 2015 Share Posted January 30, 2013 @Fcuk this may help http://trac.rathena.org/changeset/15185/rathena Quote Link to comment Share on other sites More sharing options...
Fcuk Posted February 2, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted February 2, 2013 that is default in my revision Quote Link to comment Share on other sites More sharing options...
Fcuk Posted February 5, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted February 5, 2013 bump ! Quote Link to comment Share on other sites More sharing options...
Fcuk Posted February 11, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted February 11, 2013 bump ! Quote Link to comment Share on other sites More sharing options...
Fcuk Posted February 18, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 09/23/12 Last Seen: November 1, 2013 Author Share Posted February 18, 2013 bump! Quote Link to comment Share on other sites More sharing options...
iMicah Posted May 1, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 04/07/13 Last Seen: June 16, 2013 Share Posted May 1, 2013 I'm having the same problem, can anyone do this? Quote Link to comment Share on other sites More sharing options...
chowking Posted May 29, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Share Posted May 29, 2013 @fcuk and @iMicah just revert the devotion skill to a old revisionbut the trac is still down so, you'll have to wait it out Quote Link to comment Share on other sites More sharing options...
Question
Fcuk
i tried reverting back the Old devotion but unfortunately i failed
ex. Pally 1 is Devoting Champ 1
when champ 1 use asura in Pally 2 . the Pally 1 and Champ 1 do not received any damage even if the Pally 2 uses Reflect shield and reflect set
I want that to be
Pally 1 will receive the damage of the reflect . Im using the latest rathena from here https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/
Link to comment
Share on other sites
14 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.