-
Notifications
You must be signed in to change notification settings - Fork 409
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
Applied size reduction effect to neut/nos #684
Conversation
This one is tricky, because I know from testing that a capital neut basically does nothing to a frigate. But if we only apply the size reduction, it still instacaps the frigate (according to Pyfa). @blitzmann if you want to merge this PR, we can always open a new one specific to the carrier neuts, if/when we ever figure out how that works. |
From Reddit:
And now looking up the bomb sig radius formula, turns up this:
https://oldforums.eveonline.com/?a=topic&threadID=1505798 No idea if this is the correct formula or not but it looks legit. |
The relevant bit of code for the sig reduction:
So a couple things on this.
|
Also cleaned up some warnings PyCharm was throwing.
This all looks pretty good to me. I will wait until I can sit down and test things myself on SISI for expected values before merging. Great work @Ebag333! |
Confirmed by |
Relevant code is in the effects file. Basically grabs the ships rig size, and applies the small/medium/large modifiers as a straight up percentage.
Example, ship on the left with the legacy code, ship on the right with the new code.
http://puu.sh/q4qsc/83975220d9.png
Todo:
*Could figure out how CCP handles unrigged ships (freighters, shuttles, pods). This is an edge case, so we may simply choose not to cover it.
*Not sure how CCP determines the actual size, they may use a different formula than rig size.
*Need to handle the sig radius reduction for capital sized neuts. Still not sure on formula.
*Need to verify that stacking behavior works with cap batteries. Assumption here is that the module size reduction applies without a stacking penalty and prior to the cap battery reduction.