Exemple #1
0
    def __init__(self):
        super(Barbarian,
              self).__init__(name="Barbarian",
                             description="The wild Barbarian",
                             abilities={"job special": ability.Frenzy()},
                             strategy=strategy.Barbarian())

        self.level_bonus = {
            lev: {
                "MP": 0,
                "HP": 4 * (lev - 1),
                "HB": 2 * lev,
                "RES": int(lev / 3),
                "STR": int(lev / 2),
                "DEX": int(lev / 3),
                "SPD": int(lev / 4),
                "MAG": 0,
                "RTM": int(lev / 6)
            }
            for lev in range(1, 21)
        }
        self.bonus.update(self.level_bonus[1])
Exemple #2
0
 def __init__(self, name="Fury Armor", description=["A cringeworthy armor"], bonus={"RES" : +1, "AC" : 2, "HB" : 8}, location=None):
     super(FuryArmor, self).__init__(name=name, description=description, bonus=bonus, location=location)
     self.abilities.update({"support" :  ability.Frenzy()})
     self.rarity = "uncommon"