print("Welcome {p1_name} and {p2_name}! You're about to choose a wand to use in this duel! Available wands are:".format(p1_name=player1.name,p2_name=player2.name))
intro_print_wands()
player1.wand=intro_get_wand(player1)
player2.wand=intro_get_wand(player2)
print()
print("{name} will be fighting with an {wood} wand with a {core} core".format(name=player1.name,wood=player1.wand.get_wand_wood().lower(),core=player1.wand.get_wand_core().lower()))
print("{name} will be fighting with an {wood} wand with a {core} core".format(name=player2.name,wood=player2.wand.get_wand_wood().lower(),core=player2.wand.get_wand_core().lower()))
intro_message_duel_start()
try:
whileTrue:
ifplayer1.health==0:
print("END! {name} has been defeated. Congratulations {name2}!".format(name=player1.name,name2=player2.name))
break
elifplayer2.health==0:
print("END! {name} has been defeated. Congratulations {name2}!".format(name=player2.name,name2=player1.name))