
– More monster inheritance work
Homework
Add the magic hit to the monster.py file
– it should act exactly like physical hit, but in the string, it should say the type of magic
Write up sword attack to the monster_system
#implement a function called sword_attack(monster) # it come up with a random number between 10-20 # use the monsters physical_hit function to reduce the monsters hp by the random number # hint( import random) on the top of this file