[Adventurer] The One Wizard

What can one wizard do against ogre horde? You can find it out in the new level

The One Wizard

6 Likes

Great level! I was too lazy to do the bonus since I had to do homework, but still, awesome level!

2 Likes

Ok. Very interesting. I will path bonuses today at night. But can you return hero.debug method?

2 Likes

Not “return” - “add” :slight_smile: Done.

2 Likes

Where can I find it on the map? I’d like to see the scoreboeard, if there is one…

2 Likes

Forest campaign. Lower left corner.

2 Likes

Not “return” - “add” :slight_smile: Done.

Thanks

1 Like

Thanks, but there is no scoreboard :slight_smile:

2 Likes

This is my code but for some reason i don’t survive. Why?

while True:
    enemy = hero.findNearestEnemy()
    if enemy:
        hero.attack(enemy)
        if hero.isReady("chain-lightning"):
            hero.cast("chain-lightning", enemy)
        if hero.isReady("lightning-bolt") and enemy.health >14:
            hero.cast("lightning-bolt", enemy)
        if hero.isReady("regen") and hero.health<70:
            hero.cast("regen", hero)
        if hero.health<30:
            hero.moveXY(8, 36)

1 Like

I don’t see how you could die in this challenge. also, use elif

2 Likes

Sorry i meant that i always get teleported.

1 Like

it doesn’t help i keep on only killing 18 ogres

1 Like

I have a question but how do I see about how many enemies are there?

2 Likes

do

enemy = hero.findNearestEnemy()
1 Like

that doesn’t explain how many enemies there are.

1 Like

oh ok i thought you were asking how to find an enemy

1 Like

ok got up to killing 30

1 Like

@Bryukh can you allow the twilight glasses so i can track missiles from the catapult and avoid them?

2 Likes

You have to destroy it to get destroy all ogres. Also, I would consider using lightning bolt against that. You also have the power to use root and shockwave.

1 Like

i know but the fireball is still there and i cant avoid it

1 Like