This repository was archived by the owner on Aug 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
EnemyScaleByLevel.cs
ErikOverflow edited this page Apr 9, 2019
·
1 revision
- (Method-caller) EnemyStatsSystem
- (Data) CharacterLevel
- Augment()_ - Applies scaling to configured components
- None
- 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
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)
Script Documentation
General Scripts
Generic Character Scripts
Enemy Scripts
Player Scripts
Erik's ongoing laundry list of TODOs that he doesn't want to create issues for