Is there a certain number of hitpoints needed to finish Sarven Road? I tried it with Tharin and Hattori Hanzo (he has less hitpoints but more dps) but both die right before the end of the level … just hope that I didn’t do the level wrong, but the instructions were pretty straightforward.
Code:
x = self.pos.x + 10
y = self.pos.y + 10
enemy = self.findNearestEnemy()
if enemy:
self.attack(enemy)
else:
self.moveXY(x, y)
Just went back through this, and it looked like it needed about 300 health (with pretty well much the code you’ve got), although I’m sure the first time I went through more ogres turned up than this time - so maybe its slightly random? Maybe you could try using a cleave at the right point to help out?
Your code looks fine. As you get further into the game, your foes get tougher, so you’ll need more powerful gear / strategies to win the combat parts, even in levels which are mostly about practicing new programming techniques.
Im having some issues on this level, I’ve done all of the campaign on python with the usual self.etc commands but in this level i am forced to do it with javascript, (this.etc) commands, i don’t know how to switch it back and i am stuck clueless of what to do
No enemies (except maybe doors and chests) should be immune to cleave. It’s just that Scouts don’t care a lot about cleave, as they have 75 HP and cleave does 15 damage.
And no, this is not imbalanced as you can still one-hit munchkins.
I have problem with loading. A progress bar comes to the end, but do not load up, without this i can’t choise another or next level. I delete my cookies, but doesn’t help. Any idea, what’s going on? I have this problem from yesterday.