Hello! I am currently working on a spell that is similar to PK Thunder from Earthbound. This spell requires me to make a common event to make it work since the normal RPGmaker Skills tab isn't enough. I am having some problems with this ability though. The spell itself works well, since it randomly can hit a target, higher chase to miss when less enemies, and the damage values are correct. Visually though, things are not working. Even when an attack misses, it still displayed the damage it calculated, as well, for some reason, the animation isn't playing when it used.
I am aware why the first problem is happening, and it's that it doesn't take in to the fact it can't tell if it's hits or misses the enemy. The problem is that I don't know how I can fix it. Here's my code if you need it.
I am aware why the first problem is happening, and it's that it doesn't take in to the fact it can't tell if it's hits or misses the enemy. The problem is that I don't know how I can fix it. Here's my code if you need it.