| 434 | return copy |
| 435 | |
| 436 | def rebase(self, item): |
| 437 | amount = self._amount |
| 438 | active = self.active |
| 439 | abilityEffectStates = {a.effectID: a.active for a in self.abilities} |
| 440 | projectionRange = self.projectionRange |
| 441 | |
| 442 | Fighter.__init__(self, item) |
| 443 | self._amount = amount |
| 444 | self.active = active |
| 445 | for ability in self.abilities: |
| 446 | if ability.effectID in abilityEffectStates: |
| 447 | ability.active = abilityEffectStates[ability.effectID] |
| 448 | self.projectionRange = projectionRange |
| 449 | |
| 450 | def fits(self, fit): |
| 451 | # If ships doesn't support this type of fighter, don't add it |