Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
    def description(self): return BaseStats.get_matches(self)[0]

    """Roll to attack + spell modifier, Defend with saving spell throw"""
Ejemplo n.º 3
0
 def cost(self):
     return BaseStats.get_cost(self.__spell)
Ejemplo n.º 4
0
 def description(self):
     return BaseStats.get_matches(self.__spell)[0] + ' scroll'
Ejemplo n.º 5
0
 def cost(self):
     return BaseStats.get_cost(self) * self.count
Ejemplo n.º 6
0
 def single_weight(self):
     return BaseStats.get_weight(self)
Ejemplo n.º 7
0
 def weight(self):
     return BaseStats.get_weight(self) * self.count
Ejemplo n.º 8
0
 def armor_class(self):
     return BaseStats.get_armor_class(self)
Ejemplo n.º 9
0
 def description(self):
     return BaseStats.get_matches(self)[0]