Hi,
For the sake of an example, let's say I've set up an attack skill that enemies will use on the player's characters, and it always deals 300 damage no matter what.
No variance, no critical hit chance, no added states, perfect accuracy, etc.
Is there a plugin or something I can put in the damage formula that checks if the target is affected by State #31 (let's call it Mettle), and if they are, reduce the damage that the skill would deal by the targeted character's Special Param grd (Guard effect rate)?
(Yes, I know that guarding does that normally, but please just humor me).
So if the targeted character has no states, they'd receive 300 damage like normal,
but if they're affected by State #31 (Mettle) and they have a guard rate of 100%, they'd receive 150 instead.
If they have a guard rate of 200%, they'd receive 75 instead.
I'm not very good with math and formulas, so I'm not sure how to make it work.
Any help is greatly appreciated!
Thanks!
For the sake of an example, let's say I've set up an attack skill that enemies will use on the player's characters, and it always deals 300 damage no matter what.
No variance, no critical hit chance, no added states, perfect accuracy, etc.
Is there a plugin or something I can put in the damage formula that checks if the target is affected by State #31 (let's call it Mettle), and if they are, reduce the damage that the skill would deal by the targeted character's Special Param grd (Guard effect rate)?
(Yes, I know that guarding does that normally, but please just humor me).
So if the targeted character has no states, they'd receive 300 damage like normal,
but if they're affected by State #31 (Mettle) and they have a guard rate of 100%, they'd receive 150 instead.
If they have a guard rate of 200%, they'd receive 75 instead.
I'm not very good with math and formulas, so I'm not sure how to make it work.
Any help is greatly appreciated!
Thanks!