(self, item)
| 123 | return [FighterAbility(effect) for effect in list(self.item.effects.values())] |
| 124 | |
| 125 | def __calculateSlot(self, item): |
| 126 | types = { |
| 127 | "Light" : FittingSlot.F_LIGHT, |
| 128 | "Support": FittingSlot.F_SUPPORT, |
| 129 | "Heavy" : FittingSlot.F_HEAVY, |
| 130 | "StandupLight": FittingSlot.FS_LIGHT, |
| 131 | "StandupSupport": FittingSlot.FS_SUPPORT, |
| 132 | "StandupHeavy": FittingSlot.FS_HEAVY |
| 133 | } |
| 134 | |
| 135 | for t, slot in types.items(): |
| 136 | if self.getModifiedItemAttr("fighterSquadronIs{}".format(t)): |
| 137 | return slot |
| 138 | |
| 139 | @property |
| 140 | def slot(self): |
no test coverage detected