DarkPhoenix
0d4c2551c1
Update effects, add new ISA jargon entry and make attribute cap to use modified value
2025-11-15 14:57:39 +01:00
DarkPhoenix
a9ef5caf2d
Fix attribute fetching, which is needed to calculate mining waste of crystal'd strip miners
...
This potentially can break many things. Some of those are fixed already, but there might be many more...
2021-11-26 20:43:46 +03:00
Gochim
b682dec363
Second fix for #2076 - use Abstract collections from .abc module. Fixes future issue
2019-11-10 17:27:46 +02:00
DarkPhoenix
e6cfd33435
Fix #2076 - use collection ABCs from .abc module
2019-11-07 18:35:14 +03:00
DarkPhoenix
5d6cdcbd23
Fix indent
2019-08-26 12:28:55 +03:00
DarkPhoenix
81906a7bd2
Do not store item-specific resistance attrs on effects
2019-08-26 12:27:43 +03:00
DarkPhoenix
b25b038934
Fix on-effect resistance definition
2019-08-26 09:28:48 +03:00
DarkPhoenix
f4a635eb43
Implement hybrid extended attribute getter and few scram-related functions for DPS graph
2019-08-23 11:53:13 +03:00
DarkPhoenix
0e57258cc5
Add ability to pass multiple afflictors to no-afflictor getter
2019-08-23 09:13:40 +03:00
DarkPhoenix
46ae2a006e
Consider default attr value when fetching original value, too
2019-08-22 11:58:31 +03:00
DarkPhoenix
2d96af9fc8
Use regular getter when no modifications needed
2019-08-21 11:36:24 +03:00
DarkPhoenix
20422d3046
Actually calculate attr without passed afflictor
2019-08-21 09:58:31 +03:00
DarkPhoenix
0e2ae0e0f0
Extend afflictor info with extra data
2019-08-21 09:37:06 +03:00
DarkPhoenix
e796b748b6
Make sure dromis can be resisted
2019-07-08 16:37:43 +03:00
DarkPhoenix
a74984d37b
Get resistance info of temporarily applied mods and use it during attr calculation
2019-07-08 11:42:04 +03:00
DarkPhoenix
e342f96fbe
Move resistance attribute ID getter to separate function
2019-07-08 10:58:01 +03:00
DarkPhoenix
e262aa7daa
Move resistance calculation to multiplication method
2019-07-08 10:27:06 +03:00
DarkPhoenix
04a74e278b
Plug webs/TPs into calculation process
2019-07-08 00:29:23 +03:00
DarkPhoenix
6786cc7eff
Expose boost/multiplier data to calculation method
2019-07-07 21:39:36 +03:00
DarkPhoenix
6ce72e4fb3
Add methods which will be used to access temporarily modified values
2019-07-07 19:48:50 +03:00
DarkPhoenix
5b74c6c5e1
Update graph info when fit name changes
2019-07-07 02:33:54 +03:00
DarkPhoenix
b121085271
Unfuck EFT import
2019-05-02 04:34:49 +03:00
DarkPhoenix
7b8d9f8dbe
Round fitting resource attributes properly
2019-04-30 18:51:01 +03:00
DarkPhoenix
7aa73e4b2f
Fix issue with putting ID instead of name into capping key
2019-04-30 18:48:53 +03:00
DarkPhoenix
400bb10ed3
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
2019-04-17 15:35:15 +03:00
DarkPhoenix
6a2bdade80
Fix attr tab original value column fetching module attributes for charges
2019-03-29 01:09:52 +03:00
DarkPhoenix
cbd1a34c68
Round cpu/pg like EVE does
...
To work around some fits where pyfa shows that items do not fit when they actually do
2019-02-13 13:14:18 +03:00
blitzmann
31c3101d6d
Remove redundant parenthesis
2018-09-16 01:11:16 -04:00
blitzmann
5850026aa9
docstring fixes
2018-09-16 01:09:55 -04:00
blitzmann
b57bede510
tox fixes
2018-07-15 02:51:53 -04:00
blitzmann
994521f654
Move some functionality tot he mutator object, and clean some stuff up
2018-06-11 23:09:21 -04:00
blitzmann
e8b56b076b
Instantiate mutators when a mutated module is created / loaded from DB. Some bug fixes for a few things.
2018-06-10 01:10:53 -04:00
blitzmann
fabf759aa7
Start implementing support for mutaplasmids.
...
* There's a new table `mutators` that has an FK back to a module, and links to an attribute ID with it's new value
* Fixes an issue in the item state where the "base" value showed the literal base value for the attribute, regardless of override / mutators
* If there is an override and a mutated attribute, mutated value takes effect
2018-05-24 01:26:49 -04:00
blitzmann
b30b3fcbf1
Merge branch 'master' into test-3
...
Conflicts:
eos/gamedata.py
eos/saveddata/booster.py
eos/saveddata/character.py
gui/builtinAdditionPanes/commandView.py
gui/builtinContextMenus/commandFits.py
gui/builtinMarketBrowser/itemView.py
gui/builtinMarketBrowser/marketTree.py
gui/builtinPreferenceViews/pyfaGeneralPreferences.py
gui/builtinShipBrowser/categoryItem.py
gui/builtinShipBrowser/fitItem.py
gui/builtinShipBrowser/navigationPanel.py
gui/builtinShipBrowser/raceSelector.py
gui/builtinShipBrowser/shipItem.py
gui/builtinStatsViews/priceViewFull.py
gui/builtinViews/fittingView.py
gui/characterEditor.py
gui/characterSelection.py
gui/chromeTabs.py
gui/crestFittings.py
gui/itemStats.py
gui/mainFrame.py
scripts/itemDiff.py
service/price.py
2017-11-23 11:19:05 -05:00
blitzmann
6a382c4445
More tweaks to getModifiedItemAttr and fix deprecation warning
2017-11-05 01:51:19 -04:00
blitzmann
ce3b94696a
Make sure getModifiedItemAttr always returns an int, unless otherwise wanting None
...
In py2, you could compare None to an int and it would always be less than. Unfortunately in py3, this is no longer the case. Returning getModifiedItemAttr as 0 allows us to not do a huge refactor.
2017-11-04 18:20:00 -04:00
blitzmann
de35692666
Fix a few things with affected by tab (indentation issue, overwriting modifier incorrectly)
2017-07-09 13:18:28 -04:00
Ryan Holmes
828b18d0fd
py2to3 automatic conversion. Woot!
2017-06-12 16:12:45 -04:00
blitzmann
0507a55731
Get resists working with more things, and fix bug in which we were still looking at an effect info (which doesn't exist anymore)
2017-05-07 19:59:25 -04:00
blitzmann
622efb624d
Refactor how remote resistance works. We now check the resistance ID directly from the effect, and fall back to the remoteResistanceID attribute. See #1139
2017-05-02 22:19:58 -04:00
blitzmann
50965244c0
Merge branch 'bug/1139' into bug/resist-effects
2017-05-02 20:41:54 -04:00
blitzmann
1cf844d415
item.attributes would not contain attributes that were added during runtime. Instead, get the attribute info and search the modified attributes for the resist attribtue.
2017-04-30 01:39:03 -04:00
Ebag333
9d34c2a2e6
Add TODO
2017-03-13 11:52:18 -07:00
Ebag333
4f12caa05f
Remove test variable
2017-03-13 11:30:07 -07:00
Ebag333
649ba71c0f
Make sure overrides are enabled before we return override values
2017-03-13 11:15:14 -07:00
Ebag333
af5a9b31bc
Fix another hidden import (move to top)
2017-03-13 11:09:12 -07:00
Ebag333
b72304203c
Add default option to getOriginal. This eliminates some double lookups and simplifies the code.
2017-03-13 10:56:33 -07:00
Ebag333
f70d250995
Cleanup code. Use slightly faster comparison (is instead of isinstance). Rename OVERRIDES variable to eliminate confusion.
2017-03-13 10:11:15 -07:00
Ebag333
46626e9a63
Kill another double lookup
2017-03-09 15:31:19 -08:00
Ebag333
b5626c13b1
Refactor __calculateValue
2017-03-09 15:16:52 -08:00