(self, memo)
| 424 | i += 1 |
| 425 | |
| 426 | def __deepcopy__(self, memo): |
| 427 | copy = Fighter(self.item) |
| 428 | copy._amount = self._amount |
| 429 | copy.active = self.active |
| 430 | for ability in self.abilities: |
| 431 | copyAbility = next(filter(lambda a: a.effectID == ability.effectID, copy.abilities)) |
| 432 | copyAbility.active = ability.active |
| 433 | copy.projectionRange = self.projectionRange |
| 434 | return copy |
| 435 | |
| 436 | def rebase(self, item): |
| 437 | amount = self._amount |