コード例 #1
0
ファイル: voodoo.py プロジェクト: Ardnived/Regicide
 def __init__(self):
     Action.__init__(self,
         name = "Purge",
         targets = [Tile.TARGET_ENTITY],
         description = "Attempts to remove a chosen spirit from the target.",
         tags = ['spell', 'voodoo']
     )
コード例 #2
0
ファイル: voodoo.py プロジェクト: Ardnived/Regicide
 def __init__(self):
     Action.__init__(self,
         name = "Possess",
         targets = [Tile.TARGET_ENTITY],
         description = "Take control of an enemy.",
         tags = ['spell', 'voodoo'],
         target_range = 3,
     )
コード例 #3
0
ファイル: misc.py プロジェクト: Ardnived/Regicide
 def __init__(self):
     Action.__init__(self,
         name = "Move",
         targets = [Tile.TARGET_PASSABLE],
         description = "",
     )
コード例 #4
0
ファイル: misc.py プロジェクト: Ardnived/Regicide
 def __init__(self):
     Action.__init__(self,
         name = "Attack",
         targets = [Tile.TARGET_ENTITY],
         description = "",
     )
コード例 #5
0
ファイル: voodoo.py プロジェクト: Ardnived/Regicide
 def __init__(self, name, description, blueprint):
     Action.__init__(self, name, description, 
         targets = [Tile.TARGET_ENTITY, Tile.TARGET_ITEM], 
         tags = ['spell', 'voodoo', 'spirit']
     )
     self.blueprint = blueprint