Ensure that owner fit is always visible from all fit items and their modified attribute map

Fixes some issues with some afflictions not shown/registered when fit has just been loaded
This commit is contained in:
DarkPhoenix
2019-04-17 15:35:15 +03:00
parent 53915eb956
commit 400bb10ed3
5 changed files with 43 additions and 27 deletions

View File

@@ -32516,7 +32516,7 @@ class Effect6871(BaseEffect):
# Get pilot sec status bonus directly here, instead of going through the intermediary effects
# via https://forums.eveonline.com/default.aspx?g=posts&t=515826
try:
bonus = max(0, min(50.0, (src.parent.character.secStatus * 10)))
bonus = max(0, min(50.0, (src.owner.character.secStatus * 10)))
except:
bonus = None