Skip to content

Enemies Difficulty Increasing

Cromha edited this page Dec 21, 2024 · 8 revisions

Introduction

In addition to the game difficulty, there's a hidden game stat that make enemies more powerful. This stat is calculate so it's up to the current player level: it's calculated depending on the player elapsed time game days stat. This mean that the more the player has played, the more enemies will get stronger. Now, before we get on how this coefficient's calculated, here's what this coefficient changes: it simply multiplies any enemies damage by its value.

Explanation

Here's the code extract of where this coefficient's calculated:

# Calculate the enemies global damage
# coefficient, depending on the player
# elapsed time in game-days
#
# Here's the calculation setting:
# x < 5days  => .6
# x < 10days  => .7
# x < 15days  => .95
# x < 25days  => 1
# x < 45days => 1.2
# x < 50days => 1.3
# x < 80days => 1.4
# x < 100days => 1.525
# x < 130days => 1.775
# x < 150days => 1.975
# x < 180days => 1.99
# x < 220days => 2
# x > 220days => 2.225
global enemies_damage_coefficient
enemies_damage_coefficient = 1  # placeholder
if player["elapsed time game days"] < 5:
    enemies_damage_coefficient = .6
elif player["elapsed time game days"] < 10:
    enemies_damage_coefficient = .7
elif player["elapsed time game days"] < 15:
    enemies_damage_coefficient = .95
elif player["elapsed time game days"] < 25:
    enemies_damage_coefficient = 1
elif player["elapsed time game days"] < 45:
    enemies_damage_coefficient = 1.2
elif player["elapsed time game days"] < 50:
    enemies_damage_coefficient = 1.3
elif player["elapsed time game days"] < 80:
    enemies_damage_coefficient = 1.4
elif player["elapsed time game days"] < 100:
    enemies_damage_coefficient = 1.525
elif player["elapsed time game days"] < 130:
    enemies_damage_coefficient = 1.775
elif player["elapsed time game days"] < 150:
    enemies_damage_coefficient = 1.975
elif player["elapsed time game days"] < 180:
    enemies_damage_coefficient = 1.99
elif player["elapsed time game days"] < 220:
    enemies_damage_coefficient = 2
else:
    enemies_damage_coefficient = 2.225

This means that:

  • Between 0 and 5 game days, the coefficient is equal to .6
  • Between 5 and 10 game days, the coefficient is equal to .7
  • Between 10 and 15 game days, the coefficient is equal to .95
  • Between 15 and 25 game days, the coefficient is equal to 1
  • Between 25 and 45 game days, the coefficient is equal to 1.2
  • Between 45 and 50 game days, the coefficient is equal to 1.3
  • Between 50 and 80 game days, the coefficient is equal to 1.4
  • Between 80 and 100 game days, the coefficient is equal to 1.525
  • Between 100 and 130 game days, the coefficient is equal to 1.775
  • Between 130 and 150 game days, the coefficient is equal to 1.975
  • Between 150 and 180 game days, the coefficient is equal to 1.99
  • Between 180 and 220 game days, the coefficient is equal to 2
  • Between 220 and 250 game days, the coefficient is equal to 2.175
  • Between 250 and beyond, the coefficient is equal to 2.225

Here's a great graph that represents the coefficient (Note that the player's chosen difficulty also affects this stat):

image

Clone this wiki locally