[Solved] Operation "Killdeer" Help

Yes, that was the thing I was writing right now.

Andrei

1 Like

Can someone help me i seem to kill the ogres and attempt the brawler even though … well look

# Lure the ogres into a trap. These ogres are careful.
# They will only follow if the hero is injured.

# This function checks the hero's health 
# and returns a Boolean value.
def shouldRun():
    if hero.health < hero.maxHealth / 2:
        return True
    else:
        return False

while True:
    enemy = hero.findNearestEnemy()
    # Move to the X only if shouldRun() returns True
    if shouldRun() == True:
        hero.moveXY(75, 37)
    # Else, attack!
    else:
        hero.attack(enemy)

ah i figured it out it is laughable. i have a good sword terrible armour so i kill the ogres without being wounded and then the brawler takes me out in one shot

3 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.