You know, I was trying to learn coding and used the Normal Attack method, but it didn't seem to work, although do you think it's because I used nested conditional branches instead of and? I guess I'm just more used to eventing. Also, does 0 count as a state id? Because I was using it on a different state to see if it worked. So, in the default, state 4 should be dazzle, right? And thunder should be element 3? Because I was testing it in the Troop database by going into a test battle with a weapon that was temporarily given the thunder element for the test purposes, and I tried to apply dazzle to them and then attack but the damage didn't seem to change that much. Although instead of what you were doing for the damage I was putting
self.damage *= 2Which should still work right? Of course it might not work at all and I might be an idiot for trying but I'm completely new to Ruby (and coding in general unless you count HTML or CSS...hoping it might be a little start). Anyway, thanks for the help.
EDIT: It seems to be working fine now, although I'm starting to wonder if I had to save for it to work first, I had just been making the edits to the script and then the database and at least applying the changes but from there I just jumped straight from the Troops into Test Battle. Either way if it was my coding or derp not-saving thanks for the help! Much appreciated!
