I have an enemy which has 100% protection from physical damage until a particular item is used.
However, if there is a skill which is Certain Hit, that overrides a PDR of 0%
I had thought to get round that by inflicting a state (which does nothing) on the enemy, a state which the item also removes, and having the skill with this damage formula so that if the state is still present, no damage is inflicted, if it has been removed, then damage as per the formula (very high at the moment for testing purposes)
b.state?(93)? 0 : a.atk * 9
However, what it does is give damage of 30 while the state is present.
Can anyone see the error in my formula?
Thanks.
However, if there is a skill which is Certain Hit, that overrides a PDR of 0%
I had thought to get round that by inflicting a state (which does nothing) on the enemy, a state which the item also removes, and having the skill with this damage formula so that if the state is still present, no damage is inflicted, if it has been removed, then damage as per the formula (very high at the moment for testing purposes)
b.state?(93)? 0 : a.atk * 9
However, what it does is give damage of 30 while the state is present.
Can anyone see the error in my formula?
Thanks.