RPG Maker VX Ace

RPG Maker VX Ace

View Stats:
reggie0528 Jul 5, 2014 @ 11:47am
Attacks continually missing?
In the game I'm making, any attacks the player makes miss 95% of the time. Enemy attacks hit like they're supposed to, and magic skills hit the right way too. It's just the normal attack and the special skills that miss. I've searched the database extensively to see what the problem might be, but I can't find anything. Any ideas what might be wrong? Sorry if it's just a simple thing I didn't think of.
< >
Showing 1-5 of 5 comments
Kio Kurashi Jul 5, 2014 @ 12:04pm 
If you have edited any of those skills then it may be doing 0 damage as that is usually what happens if you were not dealing any damage. If not then I have nothing of the top of my head.
reggie0528 Jul 5, 2014 @ 12:54pm 
Nope, the attack does hit every once in a while, and does normal damage. It just misses almost all the time. The normal attack and special skills all have success rate at 100%, and I checked the hit and evade rates for all enemies and classes.
Kesac Jul 5, 2014 @ 1:47pm 
The formula is (by default) as follows:

Hit rate = Item/skill success rate * 0.01 * user's hit rate [only if physical] (Item success rate = 0..100, hit rate = 0..1)
Evade rate = Physical or Magical evasion (0 if neither) (0..1)

For the hit rate, a random number is generated between 0 and 1, and if the random number is greater than the hit rate variable, the attack misses. If the attack doesn't miss, another random number is generated for evade -- if it's less than the evade rate, the attack is evaded.

Which message are you getting, "missed" or "evaded"?
reggie0528 Jul 5, 2014 @ 8:08pm 
Never mind, fixed the problem. Misplaced a decimal point in the hit formula. :cluck:
Hatsukuro Jul 5, 2014 @ 9:46pm 
Haha, sounds like something I do all the time while scripting. Glad to hear you got it solved.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jul 5, 2014 @ 11:47am
Posts: 5