(self, stuff)
| 61 | self.mask |= wx.LIST_MASK_TEXT |
| 62 | |
| 63 | def getText(self, stuff): |
| 64 | if not isinstance(stuff, (Drone, Fighter)): |
| 65 | return "" |
| 66 | if self.mainFrame.statsPane.nameViewMap["resistancesViewFull"].showEffective: |
| 67 | ehp = sum(stuff.ehp.values()) |
| 68 | else: |
| 69 | ehp = sum(stuff.hp.values()) |
| 70 | return formatAmount(ehp, 3, 0, 9) |
| 71 | |
| 72 | def getImageId(self, mod): |
| 73 | return -1 |
nothing calls this directly
no test coverage detected