def text(self, converter: AsTextConverter) -> str: if self.duration == 0: return None return converter.attribute_attack_boost_convert(self)
def text(self, converter: AsTextConverter) -> str: # TODO: uhhh maybe this can be cleaned up if self.attributes == [] and self.rcv_boost: return converter.rcv_boost_convert(self) else: return converter.attribute_attack_boost_convert(self)