Skip to content

[FIX] fixed a bug that abyssal web strength can go beyond -99%#2762

Open
EVE-Rangeen wants to merge 1 commit into
pyfa-org:masterfrom
EVE-Rangeen:master
Open

[FIX] fixed a bug that abyssal web strength can go beyond -99%#2762
EVE-Rangeen wants to merge 1 commit into
pyfa-org:masterfrom
EVE-Rangeen:master

Conversation

@EVE-Rangeen
Copy link
Copy Markdown

Summary


Added a single web strength cap at 99% to match eve machanics. Its not possible to get beyond -99% speed reduction in EVE
image
So pyfa simlulate incorrectly with god rolled strength abyssal web on serpentis ships. resulting negative speed and wrong damage graph.
Before fix
image
image

After fix
image
image

Fix


Implements a new applyWebStrengthCap function in calc.py which cap the web strength at -99% . And apply it to wherever webifier speed reduction is calculated or displayed. Ensures any single web strength effect can not exceed -99%.

Cursor has been used to help me with this fix

In game hard cap on web strength at -99%. Fixed pyfa to restrict this
@EVE-Rangeen
Copy link
Copy Markdown
Author

I made this funcation apply to all stasis webification modules/entities/AOE but actually only webs fitted on serpentis ships have the chance to reach that height.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant