Author Topic: [DONE][Suggestion] difficulty settings (stat growth parameters as abs. value)  (Read 1328 times)

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
I need finer difficulty settings. An analogue of "statGrowthMultipliers:", but increasing the characteristics not in percentages, but in units, that is, without taking into account the basic characteristics of the unit. This also applies to "armorMultipliers:".

The situation with percentages is such that weak units remain weak at any level of difficulty. At the same time, strong units become unbeatable! This is what I would like to fix so that the strengthening of units is more uniform.

New options should work together. First, the unit's stats are increased as a percentage of the "statGrowthMultipliers" and "armorMultipliers" options, then the bonus from the new options is added.
« Last Edit: August 28, 2023, 01:18:38 am by Ethereal »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: [Suggestion] difficulty settings (stat growth parameters as abs. value)
« Reply #1 on: December 09, 2023, 04:46:47 pm »
Done: https://github.com/MeridianOXC/OpenXcom/commit/f2f1af2f63b35c07b1c1cde38c2496eeffa82a21

New parameters are called `armorMultipliersAbs` and `statGrowthMultipliersAbs`.

Example:

Code: [Select]
armorMultipliersAbs: [5, 10, 15, 20, 400]
statGrowthMultipliersAbs:
  -
    tu: 5
    stamina: 5
  -
    tu: 10
    stamina: 10
  -
    tu: 15
    stamina: 15
  -
    tu: 20
    stamina: 20
  -
    tu: 400
    stamina: 400

Offline Ethereal

  • Commander
  • *****
  • Posts: 684
    • View Profile
Thanks.