[Adventurer] Vision of Ogres


#1

Mountain level here: Vision of Ogres

One more level combines concept from previous levels about string methods.


#2

‘Overview’ body:

lowerWord[len(lowerWord)-1] # The first  letter

Correct is The last letter


#3

Thanks. Fixed.

20characters


#4

Good to know:

  • elements of hero.findEnemies() are objects
  • enemy.id is a string
  • use split(" ") in python(not split() as in real python)
  • use toLowerCase() in python (not lower() as in real python)

#5

It was in previous levels. And I’m surprised about that “enemy.id is a string” it was in many levels before.


#6

Finished without issue

submitted patch


#7

Thank you again, Harry!


#8

Actually, there is a problem. I was just testing the level out of curiosity, and I found out I can beat the level by simply attacking the nearest enemy. The level’s enemies needs to be converted from ogre with 120 health to brawlers with 500 health, so the player can’t afford to kill every brawler there is.


#9

What the equipment are you using?


#10

I am using tarnished bronze helmet and chestplate. The sword is kithsteel blade. No shield.


#11

I used worn drag plate stuff and a kith steel blade and won with 50% health


#12

without the helmet (must be 20 chars)


#13

Thanks. I don’t think that convert to brawlers is a good idea, however I know how to fix it.