I am trying to make a skill that will guarantee a critical hit. I kept the actual damage bit vanilla to reduce any complications, but it doesn't seem to be causing a crit to happen.
The formula I've got is
I've also tried simply
but that didn't produce a result either.
Can anyone tell me what I've done wrong?
Thank you.
The formula I've got is
target.result().critical = true; this.applyCritical(a.atk * 4 - b.def * 2)I've also tried simply
target.result().critical = true; this.applyCritical(a.atk * 4 - b.def * 2)but that didn't produce a result either.
Can anyone tell me what I've done wrong?
Thank you.