def wizard(self): wizard_player = Attributes() wizard_armor = Armor() diceroll = DiceRoll() # *** Attributes *** Heroes.life = wizard_player.constitution('Wizard') + (self.level*diceroll.d4()) Heroes.ranged_damage = wizard_player.dexterity('Wizard') Heroes.spell_damage = wizard_player.intelligence('Wizard') Heroes.melee_damage = wizard_player.strength('Wizard') # *** Armor Section *** Heroes.armor = (wizard_armor.natural_armor('Wizard') + wizard_armor.chest_armor_defense('Robes of the Invoker'))
def wizard(self): wizard_player = Attributes() wizard_armor = Armor() diceroll = DiceRoll() # *** Attributes *** Heroes.life = wizard_player.constitution('Wizard') + (self.level * diceroll.d4()) Heroes.ranged_damage = wizard_player.dexterity('Wizard') Heroes.spell_damage = wizard_player.intelligence('Wizard') Heroes.melee_damage = wizard_player.strength('Wizard') # *** Armor Section *** Heroes.armor = ( wizard_armor.natural_armor('Wizard') + wizard_armor.chest_armor_defense('Robes of the Invoker'))