예제 #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
예제 #2
0
파일: spells.py 프로젝트: jinxo13/QuestGame
    def description(self): return BaseStats.get_matches(self)[0]

    """Roll to attack + spell modifier, Defend with saving spell throw"""
예제 #3
0
 def description(self):
     return BaseStats.get_matches(self.__spell)[0] + ' scroll'
예제 #4
0
 def description(self):
     return BaseStats.get_matches(self)[0]