Here's how
see this on your trunk/conf/battle/skill.conf so this is the default settings for Devotion.
// Using 'old' behavior for devotion vs reflect damage? (Note 2)
// Default is 0 (official). If 'devotion_rdamage' is > 0 (chance to devote the reflected damage),
// when player with devotion attacks player with reflect damage ability (item bonus or skill),
// the damage will be taken by the person who provides devotion instead the attacker.
devotion_rdamage: 0
// Officially, reflecting shield (SC_REFLECTDAMAGE) reflects physical damage by skill or normal attack.
// But if the target is being devoted, it ONLY reflects the damage for melee skill. (Note 1)
devotion_rdamage_skill_only: yes
Now if you want to change it to reflect all even magic attacks. you need to do it like this
First the chance of reflect.
// Using 'old' behavior for devotion vs reflect damage? (Note 2)
// Default is 0 (official). If 'devotion_rdamage' is > 0 (chance to devote the reflected damage),
// when player with devotion attacks player with reflect damage ability (item bonus or skill),
// the damage will be taken by the person who provides devotion instead the attacker.
devotion_rdamage: 50 // < 50% chance of reflect
Second is if you want to reflect also the magical skills.
// Officially, reflecting shield (SC_REFLECTDAMAGE) reflects physical damage by skill or normal attack.
// But if the target is being devoted, it ONLY reflects the damage for melee skill. (Note 1)
devotion_rdamage_skill_only: yes // < set this to no if you want to reflect the physical & magical attacks.
now the result of this changes are if a High Wizard(w/ Maya) magically attack by a Professor(w/ Devotion) there's a 50% chance that all the reflect damage will directly go to the paladin.