Merge pull request #1367 from burnsypet/issue-1360
Remove energy warfare resistance on capNeed calc
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user