示例#1
0
    def __init__(self, inventory):

        Ability.__init__(self, 'summon', inventory)
        self.not_self = True
        self.not_enemy = True
        self.restrict_terrain = True
        self.target_terrain = {0, 1, 2, 3, 4, 7, 8}
 def __init__(self, name):
     """ Builds the Confuse """
     Ability.__init__(self, name)
示例#3
0
    def __init__(self, inventory):

        Ability.__init__(self, 'ray', inventory)
        self.not_self = True
示例#4
0
文件: revert.py 项目: 450W16/MODACT
	def __init__(self):
		Ability.__init__(self, "revert", pygame.K_r)
示例#5
0
文件: bridge.py 项目: 450W16/MODACT
	def __init__(self):
		Ability.__init__(self, "bridge", pygame.K_b)
示例#6
0
    def __init__(self, inventory):

        Ability.__init__(self, 'invoke', inventory)
示例#7
0
文件: climb.py 项目: 450W16/MODACT
	def __init__(self):
		Ability.__init__(self, "climbUp", pygame.K_UP)
示例#8
0
    def __init__(self, inventory):

        Ability.__init__(self, 'bolt', inventory)
 def __init__(self, name):
     """ Builds the Confuse """
     Ability.__init__(self, name)
示例#10
0
    def __init__(self, inventory):

        Ability.__init__(self, 'block', inventory)
        self.not_enemy = True
        self.restrict_terrain = True
        self.target_terrain = {0}
示例#11
0
文件: switch.py 项目: 450W16/MODACT
 def __init__(self):
     Ability.__init__(self, "switch", pygame.K_f)
示例#12
0
 def __init__(self, name, effects):
     """ Builds the Ability """
     Ability.__init__(self, name)
     self.effects = effects
示例#13
0
文件: wall.py 项目: 450W16/MODACT
	def __init__(self):
		Ability.__init__(self, "wall", pygame.K_w)
示例#14
0
    def __init__(self, inventory):

        Ability.__init__(self, 'shatter', inventory)
        self.restrict_terrain = True
        self.target_terrain = {1, 3, 4, 5, 8}
示例#15
0
文件: ladder.py 项目: 450W16/MODACT
	def __init__(self):
		Ability.__init__(self, "ladder", pygame.K_l)
示例#16
0
    def __init__(self, inventory):

        Ability.__init__(self, 'bind', inventory)
        self.restrict_terrain = True
        self.target_terrain = {8}
示例#17
0
 def __init__(self):
     Ability.__init__(self)
     self.id = 0
     self.description = "Spending 50% of your maximum action point in your next round" \
                        "and stop the time. Your opponent will skip next round"
示例#18
0
    def __init__(self, manager):

        Ability.__init__(self, manager)
示例#19
0
文件: climb.py 项目: 450W16/MODACT
	def __init__(self):
		Ability.__init__(self, "climbDown", pygame.K_DOWN)