I can’t complete this level, although I do what it says. But the level is “incomplete” because I don’t increase hero’s max health.
# Okar needs to stomp out these annoying little munchkins! # Unfortunately he is slow, and his attacks do little damage. # Fortunately, as a game developer, you have full control over the world! # Set Okar's properties to buff him up for ogre slaying! game.addDefeatGoal() game.addSurviveGoal() hero = game.spawnHeroXY("goliath", 12, 10) # Increase the hero's maxSpeed, so he runs faster. hero.maxSpeed = 25 # Increase the hero's maxHealth, so he lasts longer. hero.maxHealth = 300 hero.health = 300 # Increase the hero's attackDamage, so he can quickly take down the ogres. hero.attackDamage = 1000