Resource icon

Global Stamina Drain Reduction [PUB57] 1

No permission to download

Replace/overwrite weightoverloading.cs in scripts/misc​

Changes Made:​

  1. Global Reduction Factor: A new constant StaminaDrainReductionFactor is introduced to apply a uniform reduction across all stamina drain calculations. It's set to 0.5 to reduce stamina loss by 50%. You can adjust this value based on your needs.
  2. Modified Stamina Calculations: In each place where stamina is reduced (FatigueOnDamage, EventSink_Movement), the calculated stamina loss is multiplied by the StaminaDrainReductionFactor to decrease the amount deducted.
  3. Adjusted Logic for Stamina Reduction:
    • FatigueOnDamage: Adjusted stamina loss with the global factor.
    • EventSink_Movement: Applied the global factor when calculating stamina loss due to overloading and when decrementing stamina during movement.
Author
fatwood
Downloads
7
Views
137
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from fatwood

Back