def warrior(self): warrior_player = Attributes() warrior_armor = Armor() diceroll = DiceRoll() # *** Attributes *** Heroes.life = warrior_player.constitution('Warrior') + (self.level*diceroll.d10()) Heroes.ranged_damage = warrior_player.dexterity('Warrior') Heroes.spell_damage = warrior_player.intelligence('Warrior') Heroes.melee_damage = warrior_player.strength('Warrior') # *** Armor Section*** Heroes.armor = (warrior_armor.natural_armor('Warrior') + warrior_armor.chest_armor_defense('Heart of Ares') + warrior_armor.head_armor_defense("Drago's Visor of the Damned") + warrior_armor.leg_armor_defense("Legguards of the Fallen King"))
def warrior(self): warrior_player = Attributes() warrior_armor = Armor() diceroll = DiceRoll() # *** Attributes *** Heroes.life = warrior_player.constitution('Warrior') + (self.level * diceroll.d10()) Heroes.ranged_damage = warrior_player.dexterity('Warrior') Heroes.spell_damage = warrior_player.intelligence('Warrior') Heroes.melee_damage = warrior_player.strength('Warrior') # *** Armor Section*** Heroes.armor = ( warrior_armor.natural_armor('Warrior') + warrior_armor.chest_armor_defense('Heart of Ares') + warrior_armor.head_armor_defense("Drago's Visor of the Damned") + warrior_armor.leg_armor_defense("Legguards of the Fallen King"))