You can quickly grab the localization settings from the System, store it as a variable somewhere, and use that instead.
Then it'll be what ever the user has set it to on their system, and match all other number formats on their system.
Geach wrote:Bump where is June?
Cornflakes_91 wrote:So the applied damage is damage^2/(armor+damage) ?
Code: Select all
damageReduction = min(armor / (armor + damage), 0.9)
resultingDamage = damage - (damage * damageReduction)
Geach wrote:any chance in the next log to show some more on the economy and show how resources are gained?