SuperMartijn642 / Wormhole

11 stars 5 forks source link

[Feature] Add option for linear power distance drain #26

Open grundyboy34 opened 2 years ago

grundyboy34 commented 2 years ago

MC Version: 1.18.1 Currently, the distance power drain config value is being applied after the distance is being raised to the pow of 1/4. This creates a heavily skewed power drain curve that roughly equates to 20% increased power drain every time the distance is doubled.

Describe the solution you'd like I'd love to be able to simply have the distance power drain value scale linearly (that is powerDrain = distance * distanceDrainValue) Incase that would mess with other player's existing games, maybe we could get another config option to specify which mode distance draining should use? (Exponential or linear)

Orange-Peel-Assassin commented 2 years ago

+1 to different power modes