On the Value (or lack thereof) of Embracing Determinism

Here's a thing I've been thinking about lately.

For a while I had a Boss in my RPG that had a 33% dodge rate. 33% was sufficiently low, but playtesters still complained that it wasn't doing anything for them, so I changed it slightly.
Instead of having a 33% chance to dodge every attack, the boss now had a 100% chance to dodge every third attack.
This had I think several beneficial effects on the boss fight itself.
  1. There was no longer the chance that the player could get screwed by RNG and lose
  2. There was no longer the chance that the player could just get lucky and skate by.
  3. Most importantly it introduced a layer of strategy to the boss. Because the player can tell when an attack is going to be dodged, they can make informed decisions about which skills they use, perhaps deliberately passing on an attack to make sure an ally's strong hit connects.
And along those lines, I've been thinking largely of re-evaluating sources of Randomness in my game and asking "is this just artificially lengthening the game" or "is this forcing the player to approach problems differently."

But those are just my thoughts, and I would love to hear all of yours.
The reason why the player hates it is simply that their effort is nullified. Having the attack missed is a wholesome frustrating. And a 33% chance is too high.

If you want randomness, do not put randomness as an output. But make it as input to generate a situation. The random output is like damage variance and hit/miss. The random input is like the attack pattern or troop composition that they have to deal with it. A random output is just prolonging the battle. The random input is to make so you need to approach each different input differently.

There're many threads discussing RNG and how to make them fun already.
As theo mentioned, the outcome of a missed attack is that your turn was essentially wasted. That sucks big time. I recall some rpg maker games have removed missing entirely, and it works to the game's benefit more often than not.

I do really like your idea of having 5the boss avoid all attacks every 3rd turn. It gives you a chance to heal or buff for free. I call recall a few rpgs where the enemy boss will 100% dodge or counter, and that's a prime time to heal up and catch your breath.
I think it would be nice if you can show visually when your boss is 100% dodge. Like showing your boss sprite guarding or holding up a shield so players know it would be useless to attack that round.
I'm waiting for @Tai_MT to give his opinions on randomness on this thread.
The thing about a permanent 33% chance to evade is that while it isn't guaranteed to prolong the battle, the lack of guaranteed chance to hit the enemy is a good way to frustrate some players, even if the odds are displayed. Just ask anyone who played Fire Emblem. Or played a real-life lottery.

I agree with @watermark on adding visual clues an enemy is in a special state. A dialog box (e.g. "Don't attack it while its tail is up, or it'll counterattack with a powerful laser!") can be added as well.
@JojoLaVache If you want them, I suppose I can oblige.

The major issue with "randomness" lies largely with how much agency you're giving the player to influence the combat. A flat 33% dodge rate that the player can't influence at all and isn't told about is going to be frustrating to most players because it blindsides. Likewise, players remember "bad situations" more than good ones. Even in X-Com where hit rates can be 90%, players remember those misses quite a lot. Especially if they get two in a row.

See, humans are very bad at perceiving what is "fair" or not. We must be trained into what "fair" is. Plus, the definition of "fair" changes according to whom is using it and what they personally think. You find 33% to be fair to miss, but what if you were playing a game like that? Your definition of whether this is "fair" would change dramatically because instead of inflicting it on someone, you are having it inflicted upon you. Likewise, humans are also very bad at understanding percentages on a fundamental level. We do not intuit that we will miss 1 in every 3 hits, but sometimes have "bad luck" and may miss 4 hits in a row. People understand probability as "I will miss 1 in every 3 shots". We think it's reasonable to miss only when it happens 1 in every 3 attempts. But, if we have 2 misses in a row, it's frustrating, because it shatters the illusion we have built up of "fairness" as well as "missing 1 in every 3 attempts".

To that end, it is almost always better to have the player able to influence the outcomes of combat. The way I do it is to allow the player to make decisions to improve the odds of hitting. I put all misses as "accuracy" on the player side. Players can improve their own accuracy through equipment or skills. My Battle Axe is the most hurtful on accuracy to players as it carries only a 75% chance to hit. However, players can completely nullify this miss percentage with a single piece of equipment. Then, there are other pieces of equipment that drop the Battle Axe's accuracy to 50%, and the player must spend some time reworking their character to bring that up to 100%. Likewise, I have states that can be inflicted on the player which reduce accuracy and will need to be cured.

All accuracy is put on the player's side so that they can influence it and change it and have a say in how many times they hit the enemy. RNG is far more palatable to players when they can actually influence the odds and see that influence in action.
Like others have said, if you give a boss a 33% chance to dodge attacks then it's invisible power and can be very frustrating. But I think a dodge every 3 turns could work if there is good communication. Do not just have the boss null attacks every third turn and hope the player sports the pattern.

Some games have special buffs and debuffs applied as special actions between turns. Something like "Boss took a defensive stance!" and then the players attacks all miss that turn. You can match this with having the boss defend and not attack the player that turn as well, so the player can feel better about taking advantage of the "dodge turn" to heal and set up.

Probably not a popular example since it's a mobile game, but Fate/Grand Order has a lot of fun with stuff like this to make bosses much more challenging than normal enemies. Bosses can start a battle with (non-removable) buffs that can include things like incredibly high damage resistance that decreases each turn, make them immune to specific types of damage, etc. and can also take bonus actions at the beginning or end of their turn for additional effects. If you want a boss that just uses some kind of shield to nullify damage every 3 turns, then I think this should be fine as long as you show the boss cast it and maybe put an icon to show the status effect (things like letting the player examine the boss' stats and status effects during their turn would also be great for more complicated effects).

If you are re-evaluating randomness in your game, then I think it would be a good idea to see if you can make mechanics deliberate "gimmicks" that need to be managed during the fight instead of things that simply "might" occur.
If you are re-evaluating randomness in your game, then I think it would be a good idea to see if you can make mechanics deliberate "gimmicks" that need to be managed during the fight instead of things that simply "might" occur.
What might be recommended if you have a game where randomness is literally part of the plot, but you don't want to frusterate players endlessly?
What might be recommended if you have a game where randomness is literally part of the plot, but you don't want to frusterate players endlessly?
A hidden guaranteed mechanic is very common in games. They just don't tell you. For example, if you miss an attack, the next 5 attacks are always hit, then for the 6th roll and forward, it may have a chance to miss. It's "controlled" randomness. Will the player figure this out? Most of the time, they could not tell.

Edit: typo
I think about this a lot. For bosses, I think this approach works well. But let's say you're fighting goblins, who you'd want to dodge about 25% of the time. Having them dodge every 4th attack wouldn't work since they're going to die in 1 or 2 hits.

We can approach this from a critical hit % perspective too - sometimes you want an enemy to OCCASIONALLY deal a powerful blow, because normally their attack would be too weak to meaningfully damage any party members with a decent DEF stat. The bat deals 1 damage to the knight, but 25% of the time it will deal 12 damage. If the bat is only doing the extra damage every 4th attack, the encounter is probably over before the 4th turn.
What might be recommended if you have a game where randomness is literally part of the plot, but you don't want to frusterate players endlessly?

Continuing with my Fate/Grand Order experience, there was an event where the antagonist was a trouble-making AI that controlled the entire setting the event took place in. At the start of every battle, the AI would spin a slot machine that randomly dished out buffs or debuffs for your party. You might get something that reduced your chance to critically hit, lowered your defense, apply a "Buff Block" that would nullify your next buff, etc. Getting a buff was great, but there was always a 50/50 chance to get debuffed and the one you get might screw over your team strategy if you didn't have a way to deal with it.

There shouldn't be a problem with having random effects if they are shown to the player, like if the boss takes an extra action so the player can see what the random result is and plan their next turn around it. The big thing is to make sure the player actually can do something about it. Ways to cancel out debuffs on your party, or remove buffs from enemies can be great. Special attacks that can bypass certain states are also good. There should be some kind of trade off, like requiring one party member to sacrifice their turn so the rest of the team can do their thing. Done right, I think it can make players feel smart for planning around the tricks each boss has.
Chance to hit is incredibly frustrating. In every game I've designed I've always tried to minimize the reliance on random chance as much as possible (there's always random chance in there somewhere, though. it's unavoidable in game design).

When I did use it for an enemy, it was as a penalty. A way of telling the player "hey, you better do something about this or you're gonna suffer!" It's always good to find things other than MORE DAMAGE or instant death to give to an enemy to scare the player. So many people just go straight to ramping up damage and I just sigh.

Sometimes I do give the player randomness in their abilities, but it has to be thoughtfully done. I've learned that there are people who love the idea of luck-based stuff, so I'll throw in things that create alternate builds for the player to explore.Meaning that it's never the main way of doing things. So say a player can spec into double-crit'ing (meaning a crit can crit). The chance to do so is really tiny, but really awesome when it pays off. But the player can still spec into a flat damage increase which, in the long run, outperforms the double crit anyway. The random chance choice is really just for those people who really get sucked into "OMG I ONE-SHOT THAT GUY SO OP LOL" but I've already made the design around it not such a big deal.
To me, a miss should be a quantifiable thing: did you missclick? Misstime? Choose an attack poorly? Get physically blocked by an enemy using a defend skill?

Enemy used defend -> you miss but take less damage from the enemy; I'm ok with that.
everything should work up towards a consistent damage per turn/second.
whether it is miss or defend, the fight should be made so that it takes an average number of actions by the player to defeat the boss.

that, in turn, bleeds over to other aspects of the game: availability of items (such as potions, spells, weapons, etc), money to buy those items, quests or side battles to earn that money, gifts from NPCs, etc.

if the player keeps missing a given attack, while having that attack and only that attack to work with, that's unfair.
if the player keeps missing one of a selection of attacks, and can repeat the same battle using all of their attacks to different effects every time, ... that's flavor.
I'm trying to design difficulty to always be upfront and never a disfavor to the player in any other sense than it's mentally demanding. Meaning having to consider a situation and knowing what can go wrong rather than randomly dying to a dice throw.

Easier said than done.
But for "output randomness" like hit chances I make that bonuses instead of weaknesses. Rare crit chances feels better than not missing I think. Better yet, let the player have an input in that, as been mentioned in this thread.

In my game striking two enemies at once crits both of them, but that's only possible if the enemies line up themselves so the player can aim a hit at both of them. Part of that is the enemy ai, part is what the player decides to do, only a small part is pure chance.

For damage variation I make the variation bit a pretty insignificant part of the total damage output. I let the player know the Excalibur of Examples will deal at least 20 damage and maybe up to 5 more. It's also super easy to upgrade weapons to always deal the extra damage.

Like the others said before me a miss is practically a skipped round. The effect of that can be lessened by the boss having significantly higher defense every now and then instead of invincibility. But a pure percentage of that happening is not a good thing in either scenario.

For bosses that are invincible ever n rounds that reminds me a lot of 20th century bosses, for better of worse. Part of me think it's cheap, part of me think it's elegant. I personally would only have one boss like that as its gimmick but that's just me. But definitely better than a 33% miss rate!

Hope my rambling is useful!
RNG output may be ok if the player is made to expect and plan around it. For example XCOM has a notoriously wonky (to the players) hit rate, and the player is forced to plan around it. There must be a strategy layer that allows for contingencies. XCOM has things such as guaranteed hit attacks, passing of turns to another character etc. Scopes can also be equipped to improved hit rate to 100% but it's a trade off with other equipment.

On the other hand, I've been playing around with getting a flat 25% dodge rate on a boss, and have found a method that seems to click with some playtester's sense of fairness. To do this, make the boss roll 1-4 every four turns, and the number rolled will be the turn it dodges (assign it to a variable and count down). So it comes in sets of four turns, which may look something like 0010 0100 0001 1000 for 16 turns. On each turn with a 1, the boss has a 50% chance of dodging any attack (I have four actors fighting).
Nice topic! I think you've given a good review of the annoying symptoms that come from adding RNG where it's not necessary or useful - and to get to some core underlying philosophies behind trying to avoid these symptoms, I wrote this lengthy post last month expressing ideas for streamlining the worst forms of RNG out of your game while enhancing RNG elements that make it fun.

I do think there's a lot of value in 'determinism' - essentially, you are removing RNG completely in favor of timed (or otherwise choreographed) mechanics that add variety to battles and even to individual turns within a battle. It's always important to make sure that the player has something interesting to think about on every turn of a battle (or at least most turns), so things like a number-of-actions countdown for the enemy's next Block provide a lot of value in making your combat system interesting and hopefully fun.

We can approach this from a critical hit % perspective too - sometimes you want an enemy to OCCASIONALLY deal a powerful blow, because normally their attack would be too weak to meaningfully damage any party members with a decent DEF stat. The bat deals 1 damage to the knight, but 25% of the time it will deal 12 damage. If the bat is only doing the extra damage every 4th attack, the encounter is probably over before the 4th turn.
There's a design trap here where if the 12 damage is insignificant, then the mechanic wasn't really worth including, whereas if it is quite significant and changes the direction of battle, it's going to feel unfair to the player that they were screwed by an RNG bad beat. There is a sweet spot that I think can certainly work (where for example the 12 damage is enough to change the flavor of the next couple turns, but allows the player to play their way back into a winning position fairly easily), but I'd rather not rely on super-tight balancing to make the experience satisfying. Sometimes a more creative mechanical approach can work.

For example, maybe it would be silly to have the bat Crit on its 4th (8th, 12th, and so on) attack when it's probably going to be killed in two hits. However, a mechanic that presents an initially random, then predictable, pattern of Crits can serve as a great compromise. Trails in the Sky (and perhaps other games in the Legend of Heroes) series does something really cool where at the start of combat, certain actions (such as the 3rd, 5th, 9th, 10th, 18th action taken this battle) are given bonuses, one of which is a Critical Hit (represented by a ! symbol in the video below). Whichever character acts on that "turn" gets the bonus.

And the player can attempt to manipulate the order which battlers act, by using skills that stagger the enemy (e.g. "Flicker" which you'll see hovered temporarily in the video), by using Arts (which count as two actions, a charge and a cast), or by killing enemies that would have acted somewhere in the ATB order. Therefore, you have a semi-random, but "deterministic", sequence of Crits, which offers a lot of ability for the player to interact with, instead of doing the same attack/skill they'd choose anyway and then hoping that the RNG gives them the Crit and not the Damned Bat. 😀

Yes for sure; I think the occasional chance to crit is good if it turns a trivial amount of damage into a non-trivial amount of damage - like going from less than 1% of the target's HP pool to 5% of the target's HP pool. I think a 25% chance to crit would be a generally bad mechanic for a boss with a heavy physical attack, unless there was some very specific theme or design choice going on there, because that random chance to crit could be the difference between a tolerable blow and KOing the character, which feels unfair and out of the player's control.

I still dislike the random chance in the regular pesky bat battles, but it often provides the simplest and least difficult solution to something I dislike even more, which is when bats only deal 1 dmg to knights! (and I usually also dislike other simple alternatives like armor scaling or multiplicative formulas, but that's a whole other discussion...🙂)
As an end user, I don't mind a high miss rate if I expect it. Even better if I can see the odds and can do something about it.
So if I take an example of very good dodge mechanics from a game called Epic Battle Fantasy 5 which is essentially an RPG maker game made in flash, there are some enemies with really, really high dodge rates. 50% or higher. However, I'm given the option to counter with skills/spells that have a higher accuracy rate, but are weaker than my skills I would normally use. Alternatively, there are some skills with normal accuracy rates but hit multiple times (3-8) so half of those are hitting. Or, I can also change my equipment to something that increases my base accuracy but would mean I don't get other defenses/stats that I'd want.

Basically, don't let players feel helpless in the face of RNG. Give them the tools to overcome the odds. 🙂
Give them the tools to overcome the odds.
But how do you make sure those tools are balanced, so players don't just steamroll every enemy when they figure out how the RNG (or lack of) works? For instance, in my game the Cube Trail, you and the enemy both start with 6 health, and do 1-6 damage with your attacks/skills. Right now I just use simple hit or miss RNG, but I feel that the majority of people don't like that, and want to be able to change their chances outside of getting increased hit chance on gear.
If I change the system in the player's favor but don't include opportunity costs, then there will be no challenge. If I leave it as it is, then players won't like the game.

Original thread: https://forums.rpgmakerweb.com/threads/on-the-value-or-lack-thereof-of-embracing-determinism.120029/