コード例 #1
0
    def __init__(self):

        Skill.__init__(self)

        self.name = 'attack'
        self.target = Target.CaC()  #the Target object who handle targetting
        self.power = 1  #the damage/heal/power of the skill
        self.type = 'enemy'  # use/enemy/team/self
        self.cost = 0
コード例 #2
0
    def __init__(self):

        Skill.__init__(self)

        self.name = 'Backstab'
        self.target = Target.CaC()  #the Target object who handle targetting
        self.power = 0  #the damage/heal/power of the skill
        self.type = 'enemy'  # use/enemy/team/self
        self.cost = 0  #the AP cost of the spell

        self.state_bonus = ['locked', 2]
コード例 #3
0
    def __init__(self):

        Skill.__init__(self)

        self.name = 'Kick'
        self.target = Target.CaC()  #the Target object who handle targetting
        self.power = 1  #the damage/heal/power of the skill
        self.type = 'enemy'  # use/enemy/team/self
        self.cost = 1  #the AP cost of the spell

        self.inflict_state = None
        self.state_bonus = None
        self.effect = ['push', 1]