Exemplo n.º 1
0
 def __init__(self, lvl):
     if lvl == 1:
         Character.__init__(self, 5, 2, 2, 1)
         self.goblinSwipe()
     else:
         raise Exception("Fail to create Goblin!")
         quit()
Exemplo n.º 2
0
Arquivo: rogue.py Projeto: zudijyr/d20
 def __init__(self, lvl):
     if lvl == 1:
         Character.__init__(self, 7, 3, 6, 3)
         self.rogueStab()
         self.roguePotion()
     else:
         raise Exception("Fail to create Warrior!")
         quit()
Exemplo n.º 3
0
 def __init__(self, lvl):
     if lvl == 1:
         Character.__init__(self, 7, 5, 3, 2)
         self.warriorCleave()
         self.warriorPotion()
     else:
         raise Exception("Fail to create Warrior!")
         quit()