Skill help

I'm trying to make 2 skills that reflects damage for phys and magic attack separately, but I'm stuck on how to write down the formula. I'm trying to make the skill deal 125% damage back based on the enemies base phys/mag and their atk/matk. Any help would do, thanks.
You will need a plugin that allows custom reflect properties, like Yanfly's States plugin's Lunatic Mode. Start with picking a plugin, then we would be able to help you proceed how to go with the formula after.
I think, it's something like: b(enemy).atk(physical base attack) * 1.25


b.mat * 1.25
It kinda depends on the plugin, AFAIK Yanfly's lunatic modes use something like user and target instead of the default a/b

Original thread: https://forums.rpgmakerweb.com/threads/skill-help.74345/