MMORPG Combat System
Problem:
Players are gaining health when attacked instead of losing it.
Assignment:
Fix the math bug on.
Players are gaining health when attacked instead of losing it.
Assignment:
Fix the math bug on.
Fix the bug!
axe_damage = 10
player_health = 100
health_after_attack = player_health + axe_damage
# Don't touch below this line
print(f"Cruz's health is: {player_health}")
print(f"Cruz is hit by a axe for {axe_damage} damage...")
print(f"Cruz's health is now: {health_after_attack}")