Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

what does defbalance do?

I took that idea from Omega from discord

Problem is the way damage is calculated; if you use a [defense = damage reduction] formula you get strongly nonlinear increasing returns for defense (and dodge); e.g. if you increase 98% DR to 99% you have doubled the effective HP of a character. For linear returns a different formula needs to be used; e.g if you wanted 50 defense to be 50% damage reduction something like [damage taken = raw damage * 50 / (50 + defense); in this case a character with 50 defense would take half damage and have double effective hp and a character with 100 defense would take on third damage and have triple effective hp

Basically it does that: [damage taken = raw damage * 50 / (50 + defense)