Different Hit and Miss rates, how does it works? VX ACE

Thorgaaz

Veteran
Veteran
Joined
Aug 14, 2016
Messages
56
Reaction score
2
First Language
German
Primarily Uses
Soo, you have different hit rates, but i dont know exactely how they stack togeter.

For example. You Class has Hit 90% Your Actor an 20%Bonus 10% Comes from a state and the Weapon attack has an 50% Hitchance.
How high is your total hitchance now?
My Suggestion would be 80% ((90 +20% thats 118 total +12 from the state (118x0.1) -50

Or is it 50% because Skill success is different from hit? Or is it completely different? I dont know, testing seems equil to my suggestions, but ist an difficult game and small percentages might Change a lot, so it would be great to know exactely.

Next I was searching for the Accuracy Overflow mod, but the Links i found didnt work anymore. Does anyone has an working link?
Greetings: Thorgaaz
 
Last edited:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
The default formula is additive. Means if you have 90% as class hit rate and 10% for individual char, then it's 100%.
Adding state that increase hit rate for example 20% will make 120% hit rate.

This hit rate affect skill success chance. Means if your item success chance is 50%, and you having 120% hit chance, the success chance will be 60%. Source :
Code:
  #--------------------------------------------------------------------------
  # * Calculate Hit Rate of Skill/Item
  #--------------------------------------------------------------------------
  def item_hit(user, item)
    rate = item.success_rate * 0.01     # Get success rate
    rate *= user.hit if item.physical?  # Physical attack: Multiply hit rate
    return rate                         # Return calculated hit rate
  end
 

Thorgaaz

Veteran
Veteran
Joined
Aug 14, 2016
Messages
56
Reaction score
2
First Language
German
Primarily Uses
Ah, I see.

Big Thanks, this will help me a lot.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top