(self, stuff)
| 206 | super().__init__(fittingView, 68) |
| 207 | |
| 208 | def _getValue(self, stuff): |
| 209 | if isinstance(stuff, Fit): |
| 210 | full_hp = stuff.hp.get('shield', 0) + stuff.hp.get('armor', 0) + stuff.hp.get('hull', 0) |
| 211 | elif isinstance(stuff, TargetProfile): |
| 212 | full_hp = stuff.hp |
| 213 | else: |
| 214 | full_hp = 0 |
| 215 | return full_hp, 'hp' |
| 216 | |
| 217 | def _getFitTooltip(self): |
| 218 | return 'Total raw HP' |