Skip to content
This repository was archived by the owner on Aug 14, 2019. It is now read-only.

EnemyScaleByLevel.cs

ErikOverflow edited this page Apr 9, 2019 · 1 revision
Dependencies:
Methods:
  • Augment()_ - Applies scaling to configured components
Events:
  • None
Fields:
  • ramp - The linear increase in multiplier per level
  • gate - The number of levels before a significant jump is applied to the multiplier
  • gateJump - The exponential multiplier increase for every levels
  • priority - Order in which this StatAugment is applied compared to other StatAugments
  • applied - Whether or not this StatAugment is applied
General Overview:

A multiplier is generated and then multiplied across multiple component's fields (like hp, damage, etc.). The multiplier is generated by inserting ramp, gate, gateJump, and CharacterLevel's level into the following equation:

gateJump ^ (FloorToInt( level / gate)) * (1 + (level % gate) * ramp)

Clone this wiki locally