Can't complete Clash of Clones (python)


#1

I can’t seem to beat Clash of Clones.
Code:

while True:
    enemy = hero.findNearestEnemy()
    if hero.isReady("power-up"):
        hero.powerUp()
    elif enemy:
        if hero.isReady("bash"):
            hero.bash(enemy)
        elif hero.getCooldown("bash") < 1:
            hero.shield()
        else:
            hero.attack(enemy)

Inventory:


#2

If possible, try unequipping the sword and equipping either a hammer or nothing at all because the AI cannot use special abilities like bash. :slight_smile:


#3

hammer does NOT work anymore.

use the simple sword and attack and bash.