Dungeon of the ENDLESS™

Dungeon of the ENDLESS™

View Stats:
Ghaleon Oct 29, 2014 @ 10:53pm
How exactly does defense work?
It obviously lowers damage taken but is there anywhere that says by how much? Does 1 defense reduce damage by 1? does 100 defense lower damage taken by 50%? 200 by 75%? Can weak enemies hit you for 0 if your defense is higher than their attack?

Most roguelikes are very open about the exact mechanics of anything involving numbers that the player can choose to manipulate, but not defense in this game, and it's driving me nuts =P.
< >
Showing 1-3 of 3 comments
Sammie Oct 8, 2022 @ 10:40am 
Greetings from the future. I was searching for this and this is the first hit on DuckDuckGo. I found it on the third. For you and any others this is how it works (assuming the wiki is correct). https://dungeon-of-the-endless.fandom.com/wiki/Armor

Defense is poorly defined in-game but can be analyzed from the game files. The way the game calculates reduced damage based on defense is as follows:

%Damage Taken = 100 / (100 + Defense)% %Effective HP = (100 + Defense)%

For example:

A character with 10 Defense

Damage Taken = 100 / (100 + 10)% = 100/110 ~ 90.91% of monster damage Effective HP = (100 + 10 )% = 110% of actual HP

So basically you can thing of a defense of X as raising your hit points by X%. Another way to think of it is that 100 defense means you take 50% of the incoming damage.

It might not always so simple, there could be monsters that "pierce" through some or all. A very quick skim of the Monsters page on the wiki doesn't seem to show any though. https://dungeon-of-the-endless.fandom.com/wiki/Monsters

If it is true no monsters pierce armor (only effects that lower it) then you can do the math for anything giving defense and/or HP max to see which results in the higher effective HP. Actually now that I'm thinking about it I guess it depends if your defense can be reduced below zero by effects. If it can and there's no "piercing" monsters as the wiki seems to suggest then effective HP is all that matters. If defense can't be reduced below zero and there's a ton that lower defense then sometimes HP max may be better.
Last edited by Sammie; Oct 8, 2022 @ 10:57am
Ghaleon Oct 8, 2022 @ 11:13pm 
Holy necro batman. Thanks anyway though =).
Honestly that formula is pretty terrible IMO. It is basically designed so that it's balanced as much as possible in as m any scenarios as possible. Which is good for a hyper competative multiplayer game or something. But roguelites and roguelikes... part of their charm is having broken runs, either hard or easy, for player power or boss power, just.. It's fun seeing them go nuts sometimes, and formulas like that (and not even showing them to you to boot) stifle that IMO.
Sammie Oct 12, 2022 @ 11:05am 
Originally posted by Ghaleon:
and formulas like that (and not even showing them to you to boot) stifle that IMO.

Yes!!! It is one of my biggest pet peeves for games to not describe how damage calculations work. Some games are good about showing parts (even this is good about showing DPS automatically so you don't need to divide in your head) but it feels like so many miss the defense part of it.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Oct 29, 2014 @ 10:53pm
Posts: 3