def is_match(self, text): if text is None: return False for match in BaseStats.get_matches(self): if text.lower() == match or text.lower( ) == match + 's' or text.lower() == self.text_prefix + ' ' + match: return True return False
def description(self): return BaseStats.get_matches(self)[0] """Roll to attack + spell modifier, Defend with saving spell throw"""
def cost(self): return BaseStats.get_cost(self.__spell)
def description(self): return BaseStats.get_matches(self.__spell)[0] + ' scroll'
def cost(self): return BaseStats.get_cost(self) * self.count
def single_weight(self): return BaseStats.get_weight(self)
def weight(self): return BaseStats.get_weight(self) * self.count
def armor_class(self): return BaseStats.get_armor_class(self)
def description(self): return BaseStats.get_matches(self)[0]