Help with yanfly's elemt core and damage reflection

Hey fellow game makers,


I have a question regarding this notetag: <Element Reflect x: +y%> in yanfly's plugin element core.


I understand that this will reflect a percentage of damage taken by an element back to the attacker. But in this case the target does not take any damage at all.


My question is: 


How can I achieve for example that out of a 100% damage, 30% will be reflected onto the attacker and the target will take the remaining 70% damage.


Any tips would be greatly appreciated


Thank you
I don't have time to test it for myself, but the approach I'd take would be something like...


Let's assume the element in question is Fire. I'd make a state to apply to the defender and give it the Trait: Element Rate, then set it to 70% and set it to Fire.
Then in the notetags, I'd use <Element Reflect Fire: 30%>.

If my guess is correct, that should effectively make the character take 70% of the maximum damage as normal, and reflect 30% back. However, it's also possible it'll reflect 30% of the 70%. IE, instead of taking 70 out of 100 damage and reflecting 30, it might take 70 out of 100 and reflect 21. It'll need some testing before you can be sure. Hope it works! If not, there may be some other Yanfly scripts with an elemental reduction that's more compatible with Element Reflect.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-yanflys-elemt-core-and-damage-reflection.72984/