Merge pull request #756 from MrNukealizer/FighterFixes

Fixed a few fighter/carrier bugs:
This commit is contained in:
Ryan Holmes
2016-10-08 23:07:01 -04:00
committed by GitHub
7 changed files with 76 additions and 15 deletions

View File

@@ -373,6 +373,8 @@ class Character(object):
subThing = getattr(thing, attr, None)
subReqs = {}
if subThing is not None:
if isinstance(thing, eos.types.Fighter) and attr == "charge":
continue
self._checkRequirements(fit, fit.character, subThing, subReqs)
if subReqs:
reqs[subThing] = subReqs