Hit Chance Poll

It can only feel good to have the RNG elements only go in the player's favor, only if there's no reason for the player to not want these positive effects to happen (for example, crits when the player didn't want to finish the fight just yet). One thing to keep track of, also, is how it changes the difficulty of the game. If the game already doesn't feel difficult, having a chance to make things even easier won't be good.

I could also see players repeatedly trying a fight hoping for more lucky RNG moments when they feel like they lost by not much. The interest in removing the RNG component is to make the player know after just one lost battle that they did because their stats are lacking or their strategy wasn't good enough. Not because they weren't lucky enough.
I have a question for @Wavelength and the other people who are in the generally non-RNG camp. I know it was discussed a little bit already, but what is your take on RNG that favors the player? For example:

Let's say SOME enemies have a chance to dodge, but there are skills available to the party that can either ignore this dodge, or remove the dodge chance, etc. - counterplay options. BUT...

Let's also say that SOME party members have a chance to dodge, but MOST enemies have no counterplay options - in other words, sometimes the regular mobs will just miss you. So my question boils down to this - do you think this still feels bad for the player, because it's still taking away agency - he simply "gets lucky" when the enemies miss - OR, does the player enjoy this, if that evasion chance is a defining feature of the character or a passive bonus that the character has earned / opted into.
I don't feel like the player's agency is taken away if % chance to hit/doge is the result of the character's build/skills/gear/etc...

In my game, you can even exceed 100% hit chance, but that figure is calculated against the target's evasion chance (YEP_HitAccuracy). The reverse holds true, as in you can stack dodge, either thru skills, passives, stats, or gear. So to answer your question, I feel this is something to be enjoyed since any outcome would be the result of my character's build. If a game doesn't allow for any such customization, then yea I'd be frustrated if I miss.

Regarding double rolls, has anyone actually used this in their games? It seems like a interesting way to meet player expectations, especially since its rare for characters on the player side to have <50% Hit.
I always have 100% chance on main damage/effect, and only <100% for secondary effects when stated otherwise in skill descriptions.
I'm not a total fan of the system used by RM in general. This is probably where the frustration comes from and why it stems anger and confusion for not using anything less then 100%. Hit-Rate and bad RNG go hand in hand. You should actually look at it like it's a good thing. If I never miss, I don't feel any urgency to worry about what I hit my enemies with and vise versa. Having at least a small RNG roll keeps it fresh even if you had a bad run in a battle. You could look at Chrono Coss as an example of using this RNG to your advantage; light weight attacks almost never miss and the heaver the attack the better chance to miss. Or we can use Chrono Trigger's excellent Hit-Rate system for actual calculations.


Now, going back to my original take about not a total fan of RM's system. Here's my issue with it...
Spoiler: VX Ace's Hit-Rate and Evasion
Ruby:
  #--------------------------------------------------------------------------
  # * Apply Effect of Skill/Item
  #--------------------------------------------------------------------------
  def item_apply(user, item)
    @result.clear
    @result.used = item_test(user, item)
    @result.missed = (@result.used && rand >= item_hit(user, item))
    @result.evaded = ([email protected] && rand < item_eva(user, item))
    if @result.hit?
      unless item.damage.none?
        @result.critical = (rand < item_cri(user, item))
        make_damage_value(user, item)
        execute_damage(user)
      end
      item.effects.each {|effect| item_effect_apply(user, item, effect) }
      item_user_effect(user, item)
    end
  end

At first glance you probably wouldn't even question it and go "Xane, it's checking if you missed and the enemy has evaded or not"

I want you to look again at these lines specifically
Ruby:
@result.missed = (@result.used && rand >= item_hit(user, item))
@result.evaded = ([email protected] && rand < item_eva(user, item))

There is a HUGE problem here. Attacks that don't miss get checked again against the user's evasion and it's only running a 1:1 stat check which means things never go well in your favor if the enemy's stat is higher then yours. And not to mention we have the chance to miss based on constantly bad RNG if the numbers aren't high enough. Which makes anything under 95% constantly missing. That doesn't make any sense...

I've always hated the way this was done and came up with something closer to Chrono Trigger's checks.

Spoiler: New Calculations
Ruby:
  #--------------------------------------------------------------------------
  # * Dedicated Miss Checking
  #--------------------------------------------------------------------------
  def miss?(user, item)
    # First check with the hit type and always hit if it's Type 0 (Certain Hit)
    return false if item.hit_type == 0
    # Get Item success rate * the user's hit rate
    hit = item_hit(user, item)
    # Use the luk and evasion stat for our target to counter
    eva = self.luk + self.eva
    # Run the numbers
    value = [[hit - eva, 0].max, 100].min
    # Roll the RNG
    # (rand will return a value from 0.0 to 1.0 so we multiply by 100)
    rng = rand * 100
    # Now judge if we miss or not...
    if rng > value # if the RNG is greater then our value we miss
      return true
    else
      return false
    end
  end
  #--------------------------------------------------------------------------
  # * Apply Effect of Skill/Item
  #--------------------------------------------------------------------------
  def item_apply(user, item)
    @result.clear
    @result.used = item_test(user, item)
   # We only run this check once now.
    @result.missed = miss?(user, item)
    if @result.hit?
      unless item.damage.none?
        @result.critical = (rand < item_cri(user, item))
        make_damage_value(user, item)
        execute_damage(user)
      end
      item.effects.each {|effect| item_effect_apply(user, item, effect) }
      item_user_effect(user, item)
    end
  end
end

In the end, I say a sweet spot can now be between 75% and 100% and it's more fair probability wise. I don't approve of 100% Hit-Rates from the start, and D&D and JRPG's in general have always used RNG in these calculations. You need to miss every now and then or it's no longer fun, plus it can make or break your control on how the battle will play out. At least this way you wont have to feel shilled by RM's bad RNG calculation. While still being flexible enough for you to mess around with stat boosts or equipment gains.
This was exactly the point I was trying to make a while ago, having double calculations for Hit & Evasion separately sucks. That's why Yanfly's userHitRate - targetEvadeRate formula is far superior to MV's default.
I have a question for @Wavelength and the other people who are in the generally non-RNG camp. I know it was discussed a little bit already, but what is your take on RNG that favors the player? For example:

Let's say SOME enemies have a chance to dodge, but there are skills available to the party that can either ignore this dodge, or remove the dodge chance, etc. - counterplay options. BUT...

Let's also say that SOME party members have a chance to dodge, but MOST enemies have no counterplay options - in other words, sometimes the regular mobs will just miss you. So my question boils down to this - do you think this still feels bad for the player, because it's still taking away agency - he simply "gets lucky" when the enemies miss - OR, does the player enjoy this, if that evasion chance is a defining feature of the character or a passive bonus that the character has earned / opted into.
In most cases I don't think players should have to use certain skills/equips in order to attain 100% hit chance against enemies (except for special classes of enemies like Flying foes, or enemies that use statuses like Blind). This is better than the player having no agency over their hit rate, but it's worse than having a 100% default hit rate in my opinion. (If the player wants to engage in this kind of risk, you can give them a way to specifically opt out of it with skills/equips that offer high damage (or other effects) but a negative modifier to the default 100% hit rate.)

On the other hand, a second thing you mention is "player-favored RNG mechanics". If what you mean by this is something like "player has 90% hit rate, enemies have 70% hit rate"... again, would feel better than 70%/70%, but still less than ideal. If, on the other hand, you mean a completely asymmetric mechanic (player cannot miss; enemies can miss; perhaps the player has a stat like Dodge Chance that enemies simply don't have), then that can work in most RPGs and it can be very satisfying. It feels like getting a gift (or, if you have a lot of agency over it, feels like you are an awesome juggernaut) when it happens. The only time I would strongly advise against this would be if the battles were tuned so that occasional Misses (by enemies) would be necessary to win a battle. In a case like that, it turns gameplay into a pure Luck-Based Mission, which no one wants.

I'm definitely not a "Never-RNG'er". I think random rolls definitely have some great applications in games. However, you should always design systems keeping the more unlucky outcomes at the top of mind, and avoid giving the RNG the final say in progression-based games where losing a battle (or losing some other challenge) means you have to repeat content you've already experienced. I wrote a much longer survey of using RNG in RPG's a few months ago, which you can read here.

===

Regarding double rolls, has anyone actually used this in their games? It seems like a interesting way to meet player expectations, especially since its rare for characters on the player side to have <50% Hit.
I'm not aware of any videogame systems that use double-rolls to flatten variance on Hit-Miss checks, mostly because it would make the true probability of hitting (or evading) very hard to calculate or to even understand intuitively.

However, RPG Maker uses a double-roll for Damage Variance, in order to usually draw numbers closer to +0. Here's MV's rather clever method for calculating damage variance:
Code:
Game_Action.prototype.applyVariance = function(damage, variance) {
    var amp = Math.floor(Math.max(Math.abs(damage) * variance / 100, 0));
    var v = Math.randomInt(amp + 1) + Math.randomInt(amp + 1) - amp;
    return damage >= 0 ? damage + v : damage - v;
};
The third line (var v = ...) rolls two numbers from 0 to the Variance, then subtracts the Variance given. So for example, if the Variance is 20, it will roll two numbers (which will total from 0 to 40, with higher probabilities centering around 20 due to the double roll), and then subtract 20 (which will now total from -20 to 20, centering around 0).
Instead of varying hit chance, trying varying damage instead. You have like a 10% chance to do half damage, 80% chance to do normal damage, and a 10% chance to do 1.5 time damage

If the skill also had a secondary effect that always went off, then the player won't be as frustrated if they just knicked the enemy
Instead of varying hit chance, trying varying damage instead. You have like a 10% chance to do half damage, 80% chance to do normal damage, and a 10% chance to do 1.5 time damage

If the skill also had a secondary effect that always went off, then the player won't be as frustrated if they just knicked the enemy
In other words, glancing blows and crits?
In other words, glancing blows and crits?
Yes. the attack would always do damage, but sometimes the damage is a little less than ideal
It's tricky for me, as I like some variance for miss chance. A wispy ghost or an evasive rogue should be harder to hit than normal. For each actor and enemy, there's a base 5% miss chance. However, no more than a 20% evasion (or even critical chance) seems legit for static boons. Even then, 15% seems a safe soft cap. And if there's any way to tweak them even higher, it's short-lived and/or with a drawback.

An Invisibility Wine for evasion should be a hard-to-find consumable that stores don't sell and enemies don't drop. A "Vicious Stance" for criticals should lower one's defenses considerably for that horrific x3 damage crit, especially with potential ATK boosts stacked on top.
A "Vicious Stance" for criticals should lower one's defenses considerably for that horrific x3 damage crit, especially with potential ATK boosts stacked on top.
I have 3 stances in my game, 1 for each melee class: Berserker, Duelist, & Guardian. They get High Stance, Middle Stand, & Low Stance respectively.
High Stance: Increases Strength, physical Critical Strike, & Weapon Unleash chance by 5% but reduces Evasion by 5%.
Middle Stance: Increases Dexterity, Counter, & Hit chance by 5%.
Low Stance: Increases Max HP, Block, & Evasion chance by 5%.

Only 1 stance can be active at a time, using a stance while you already have one active will overwrite the previous one.

Middle Stance works great for Dual Wielders since in my game Dual Wielding imparts a -20% Hit chance penalty. Similar to your Vicious Stance, my High Stance is really strong, but the user also suffers a -5% Evasion penalty. I'm debating whether to change Low Stance to give Armor (DEF) instead of Max HP, but Max HP is more useful overall, it just makes less sense thematically.
Wavelength really explained most of my thoughts and probably better than I could. So I'll approach it from another direction and say this; The basic attack should hit when it is used. There are a number of assumptions that go into this why i think this and breaking these assumptions can change my thoughts on it;
  • 95% accuracy actually means 5% to do literally nothing. In a difficult battle that can be backbreaking, in a throwaway battle it's a waste of time. The idea of glancing blows is solid in fixing this (and really cute if it can still crit). So is the thought of some other outcome happening that is still helpful but not necessarily what you wanted.
  • Random encounters are quick affairs. Regardless of how difficult they are, the battle is done quickly. I like to throw around the 'two turn' rule and for 'regular' rpgs that holds true. A miss here can mean the battle being 50% longer with no meaningful effect on choice or resources. Even then, this is only important early on before these encounters start getting tough and complex and relying on good skill usage and resource management becoming more about cost than loss.
  • TBRPG battles are generally simplistic and a lot of the skill and thought process of the game is learning how things work and then implementing it while paying attention to variations in enemy attack patterns. Tactical games are generally far more complex and rely on a ton of different things. Someone brought up FFT and in that game, if your basic attack accuracy is below 100%, it's the player's fault. The early part of the game where Attack is your bread and butter, the challenge comes from understanding proper positioning.
  • Attack is your only free skill that does a useful amount of damage. And often, it's your only free skill! When you have access to multiple free choices for actions, having one be free as the 'reliable' attack allows for others to be risk/reward choices.
  • Accuracy is not under the player's control. If there's a skill minigame that determines how well you hit (common in nonrpgs, but even touched upon in the mario rpgs), then accuracy is not luck but skill. And generally speaking, I should be failing because I'm bad at a game, not because the game says "Rocks fall, party dies".
  • Some rpgs have kind of boring random encounters where you can literally just hold attack to win. I'd rather that take less time, and the ability to miss does nothing but waste time.
Note that I didn't say the attack should have 100% accuracy because I know there is effectively no difference between 95acc/0eva and 100acc/5eva. I like to bring up FFMQ as a game that both does a lot right and a lot wrong. There is literally no benefit to missing in the game and nothing really changes in any given battle due to misses and by the time you start getting to the difficult bosses you're good enough you aren't missing them, which makes them fun.

This also only applies to players. RNG that can make things better for you (your own evasion, your ability to crit) does make things more fun. It can give you breathing room where you didn't have it before.

And lastly, a 0% chance to hit is also fine in the same sense that being immune to fire is fine. Cool, don't use that on that enemy, find another solution.

When you throw a pokeball and the pokémon escapes, you probably will get frustred, but you get really happy when you get one.
Never has that happened to me. I'm not here to gamble, I'm here to catch pokemon. Make it something skill-based, make it something that requires thought. I'm even okay with pokeballs being 'random' if you aren't great at things. For instance, let's say a pokeball has some % to hit but always succeeds at low enough HP. I can then try to hit that magical number (say 10%) and know that even if I can't, I can still try, but then later on I can give someone False Swipe to help catch low level pokemon I may have missed. And that's just for regular pokemon, legendary pokemon should feel like boss battles with the goal of catching them instead of "Push A until ball catches or I run out of balls and restart". If I wanted to gamble, I'd go do that, and even then I don't do slots but instead do 'psychological-based gambling' with things like poker.

To put it another way; I went into one fight in an earlier pokemon game with 47 dusk balls (x4 catch rate at night or in caves), paralyzed the boss, lowered it's HP, then pushed A without even paying attention to the game. I ran out, restarted, then caught it on the 40th ball. It was so boring I would rather focus on the complaining someone was doing than play my game. Once it was done, I honestly had to question if it was worth it. There was no glee, there was no victory, I wasted time basically doing nothing.

It even undermines criticals! The catching minigame of pokemon literally makes a good thing worse in a way that makes the whole experience worse. It's so bizarre.
I prefer 95-99%.

Something so simple can have a great effect on many other aspects of your game, and I feel it truly depends on the type of game you are trying to create.

I look at it like this; any melee fighter worth their salt, even @ lvl 1, should be able to hit a non-moving target 95 out of 100 attempts. 100% and you're saying this fighter will never miss unless acted upon by some outside force, and I just don't find that reasonable. The evade chance of enemies should reflect their natural mobility, if you've ever played Final Fantasy 10 you will be familiar with an extreme examples of this.

You can very easily make various enemies more difficult to hit, but if you put more of that burden on the attacker, you are more likely to force the player into spending resources just to ensure a hit, which should be the point of a select few abilities, like 'aim' or 'retaliate'.

Another way to look at it: The chance to miss is the hidden cost of your resource-free attack, if that cost is greater than spending the resources, the player will innately pick up on this and it could put them in the mindset of hoarding and relying on items and skills consistently, a worse trap to fall into that dealing with occasional misses. These minor occasional misses actually go further to balance the game, even out of battle, than most people appear to be giving credit to.

I do agree that there should definitely be instances where factors affect an actor's hit rate directly and when enemies are extremely difficult to hit but those instances should be something the player has to learn from and adapt to.

Also, to reference the idea of misses being too painful in difficult battles, what constitutes a difficult battle? it very well could be against an enemy with extremely high physical evasion. The attack command should be most characters only "free" ability, but in all honestly, there is always a cost.
Accuracy is not under the player's control.
Why shouldn't accuracy be under the player's control? I like games where I can modify my hit chance through gear or other means. It makes it feel like hitting the target was my own doing due to my clever optimization of gear/build/etc...
Also, to reference the idea of misses being too painful in difficult battles, what constitutes a difficult battle?
A battle where loss came about because of a missed turn.
Why shouldn't accuracy be under the player's control?
I did touch upon that and ways it can be. I was listing specific assumptions for why I think basic attacks should always hit.

it could put them in the mindset of hoarding and relying on items and skills consistently
Maybe? That's never been the reason why I hoarded items and skills. Items because I fall for the 'but what if the final boss has another form?' trap and skills because I don't know how much MP I'll need to get through a dungeon so it's better to spend it on healing until I know.
battle where loss came about because of a missed turn.
I'd say that's more often a sign of poor balancing than actual difficulty. I personally feel that if I were to lose nearly any battle from missing a basic attack then it's on me for being over zealous.
I'd say that's more often a sign of poor balancing than actual difficulty.
I'm not saying you're wrong, but I will say that I see this happen in a lot of commercial games. It was Pokemon of all things that made me question having basic accuracy be less than 100 because of how often a battle would go from "easy win" to "guess I'll die" from a single miss. Then again, honestly most commercial rpgs do have poor balance, so I do think I agree with you.
I'm not saying you're wrong, but I will say that I see this happen in a lot of commercial games. It was Pokemon of all things that made me question having basic accuracy be less than 100 because of how often a battle would go from "easy win" to "guess I'll die" from a single miss. Then again, honestly most commercial rpgs do have poor balance, so I do think I agree with you.

I was trying to think back to the last game I played that was like that but I couldn't really remember, been so ling since I've played a pokemon game.

I feel like pokemon is a perfect example of having the clout to do things that other games couldn't get away with or wouldn't date to try.
I feel like pokemon is a perfect example of having the clout to do things that other games couldn't get away with or wouldn't date to try.
There is so much I could respond to that with, but I don't want to take this thread off the rails. But I will say that pokemon is definitely a flawed game and a perfect example of how to do accuracy wrong, especially with the capture mechanic.

Original thread: https://forums.rpgmakerweb.com/threads/hit-chance-poll.121762/