Hello, everyone!
I'm having some trouble trying to create a skill that increases the user's TP (in my project, this is bad news) when he either misses or has is attack evaded by the enemy. I'm using Skill Core doing something like this:
I hope I'm formatting correctly. Anyway, the reason why this doesn't work is because Post-Damage Eval is checked if the attack hits, correct? So, I thought of using instead Before Eval, but I'm not sure if it makes sense (and besides, it doesn't work anyway...).
I'd like some help, especially because I'm hesitant to mess too much with action sequences, since I'm afraid that I could do more damage than it's worth (but I am willing to try, so if this is the only way to make this work, I'll do it).
Thanks in advance!
EDIT: I have no idea why I wrote skill, I actually meant all attacks. My bad!
I'm having some trouble trying to create a skill that increases the user's TP (in my project, this is bad news) when he either misses or has is attack evaded by the enemy. I'm using Skill Core doing something like this:
<Post-Damage Eval>
var result = target.result();
if (result.missed || result.evaded){
user.gainTp(5)
}
</Post-Damage Eval>
I hope I'm formatting correctly. Anyway, the reason why this doesn't work is because Post-Damage Eval is checked if the attack hits, correct? So, I thought of using instead Before Eval, but I'm not sure if it makes sense (and besides, it doesn't work anyway...).
I'd like some help, especially because I'm hesitant to mess too much with action sequences, since I'm afraid that I could do more damage than it's worth (but I am willing to try, so if this is the only way to make this work, I'll do it).
Thanks in advance!
EDIT: I have no idea why I wrote skill, I actually meant all attacks. My bad!