-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swaps HV/MV/LV scaling to supply power scaling #20880
Conversation
There is a problem that SMES that are closed to themselves can accelerate production/consumption in the network to several MW. Approximately how much damage would be caused to a person if he flew into a grill with such voltage? |
I redid my math and apparently it maxes out at 800 burn. Not sure when went wrong, I was trying to match the existing damage. Math for old system is Apparently that E-4 should be an E-5. I'll fix it in the morning. As an aside, since the new system is just supply * constant * base damage technically having bad gloves can be worse than having no gloves since the case for ~75% effective gloves is uncapped. |
Redid the everything, new max damages are in the table.
Checking the code for power supplies it looks like achieving the critical threshold of 4 MW will require one of the following.
Footnotes |
needs changelog to reflect that electrocutions will generally do less damage |
About the PR
Changes the damage and stun time calculations for getting electrocuted through a powernet to be independent of the type of cable (LV|MV|HV).
The old base damage was either 20 for LV, 40 for MV, and 60 for HV if you had partially effective insuls or
powernet satisfaction * 75
averaged over 1 second.The new base damage is an initial burst of
powernet supply wattage / 50000
pluspowernet satisfaction * 20
averaged over the following second if you aren't wearing somewhat effective insuls.Why / Balance
I'm making a PR to ECS node groups and the hardcoded voltage system was unwieldy. This is a simpler system with less reliance on hardcoded enums. Damage will still scale with powernet type simply through larger powernets having more power running through them.
Technical details
Electrocution damage now comes in two waves.
2.A trailing burst a second later proportional to the average powernet satisfaction over the preceding second. The trailing burst is only applied if the victim is wearing insuls of under half effectiveness.
Media
Breaking changes
Changelog
🆑