(fighter)
| 265 | |
| 266 | @staticmethod |
| 267 | def fighterKey(fighter): |
| 268 | groupName = Market.getInstance().getGroupByItem(fighter.item).name |
| 269 | orderPos = FIGHTER_ORDER.index(groupName) |
| 270 | # Sort support fighters by name, ignore their abilities |
| 271 | if groupName == 'Support Fighter': |
| 272 | abilityEffectIDs = () |
| 273 | # Group up fighters from various roles |
| 274 | else: |
| 275 | abilityEffectIDs = sorted(a.effectID for a in fighter.abilities) |
| 276 | return orderPos, abilityEffectIDs, fighter.item.name |
| 277 | |
| 278 | def fitChanged(self, event): |
| 279 | event.Skip() |
nothing calls this directly
no test coverage detected