[Adventurer] The One Wizard


#1

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

The One Wizard


#2

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


#3

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


#4

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


#5

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


#6

Forest campaign. Lower left corner.


#7

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

Thanks


#9

Thanks, but there is no scoreboard :slight_smile:


#10

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)


#11

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


#12

Sorry i meant that i always get teleported.


#13

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


#14

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


#15

do

enemy = hero.findNearestEnemy()

#16

that doesn’t explain how many enemies there are.


#17

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


#18

ok got up to killing 30


#19

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


#20

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.


#21

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