Its alright. Thanks for all the help with this. I used the new note tag and it works but the code you given me has 1 issue. The right value is given when it inflicts a critical hit and exploit a weakness (they don't stack and it appears what takes priority is what's first in the code, but after testing that, I don't think its true) That being said when an attack misses it still gives tp when targeting a weakness instead of subtracting it. I tried making a 2nd formula using that part of the code alone, and while it works. It negates the 1st formula.

I attempted to just write in the part of the code that subtracts TP and that works just fine but it doesn't take the right value. It just subtracts 5.

