Merge pull request #1367 from burnsypet/issue-1360

Remove energy warfare resistance on capNeed calc
This commit is contained in:
Ryan Holmes
2018-01-31 23:50:44 -05:00
committed by GitHub

View File

@@ -12,7 +12,7 @@ def handler(fit, src, context, **kwargs):
amount = src.getModifiedItemAttr("powerTransferAmount")
time = src.getModifiedItemAttr("duration")
if 'effect' in kwargs:
if 'effect' in kwargs and "projected" in context:
amount *= ModifiedAttributeDict.getResistance(fit, kwargs['effect'])
if "projected" in context: