(self, ignoreState=False)
| 197 | return False |
| 198 | |
| 199 | def getRepAmountParameters(self, ignoreState=False): |
| 200 | amount = self.amount if ignoreState else self.amountActive |
| 201 | if amount <= 0: |
| 202 | return {} |
| 203 | if self.__baseRRAmount is None: |
| 204 | self.__baseRRAmount = {} |
| 205 | hullAmount = self.getModifiedItemAttr("structureDamageAmount", 0) |
| 206 | armorAmount = self.getModifiedItemAttr("armorDamageAmount", 0) |
| 207 | shieldAmount = self.getModifiedItemAttr("shieldBonus", 0) |
| 208 | if shieldAmount: |
| 209 | self.__baseRRAmount[0] = RRTypes( |
| 210 | shield=shieldAmount * amount, |
| 211 | armor=0, hull=0, capacitor=0) |
| 212 | if armorAmount or hullAmount: |
| 213 | self.__baseRRAmount[self.cycleTime] = RRTypes( |
| 214 | shield=0, armor=armorAmount * amount, |
| 215 | hull=hullAmount * amount, capacitor=0) |
| 216 | return self.__baseRRAmount |
| 217 | |
| 218 | def getRemoteReps(self, ignoreState=False): |
| 219 | rrDuringCycle = RRTypes(0, 0, 0, 0) |
no test coverage detected