Can you help me pass the kithgard brawl 6

my code is :
while True:
enemy = hero.findNearestEnemy()
if enemy:
enemy = hero.findNearestEnemy()
hero.attack(enemy)
if hero.health<3000:
item = hero.findNearestItem()
if item.type == “potion”:
pet.fetch(item)

1 Like

try summoning troops to help you fight
also, the master sword is pretty op in such a small combat space
use it if u have it
try dodging razor discs thrown by headhunters using vectors

1 Like

There some advises:

  1. Summon troops & command them to defend hero
  2. Use fast sword. Use alternatives attacks first(bash, cleave, powerup)
  3. Create attack priority - heavy enemies first, muchkins - next.

n) when you have enough health, then you can try use fire-traps and shield.

enemy = hero.findNearestEnemy()
buildTypes = ["fire-trap"]
type = buildTypes[len(hero.built) % len(buildTypes)]
if enemy and hero.gold > hero.costOf(type):
      hero.buildXY(type, enemy.pos.x, enemy.pos.y)
      hero.shield()
      hero.shield()
3 Likes

On Create Attack Priority advice by @RobAnybody :
Try using a Math.ceiling(enemy.health/hero.attackDamage) to calculate the amount of hits necessary to kill an enemy
then, based on their attack damage and distance from hero, calculate which enemy is the best to get rid of.

2 Likes

thanks both of you guys

1 Like

one thing i used the runesword i don’t have the master sword

1 Like

Runesword has a low dps
master sword is good because it has a 100 damage cleave that can kill the large ogres(the ones with the butcher knife, not the club)
if u dont have a good cleave sword, then u should use a good dps sword that has fast attacks, since most ogres in this level has low health, but there are still big ones that takes more hits.
Runesword probably beats difficuly 0 and 1, but not above.

1 Like

but the only cleave one i have is the long sword

1 Like

and the long sword has a low dps and a horrible cleave that is probably worse than just using a good dps sword
in my opinion, the sword of the temple guard is better than the sword of the forgotten on this level, so buy that and try to beat it… sword of temple guard’s dps is like 206.1, but it attacks 4 times per second.
sword of forgotten has 211.5 dps, but it attacks 2 times per sec

1 Like

thanks and i will see

1 Like

and those two sword don’t have cleave

1 Like

the only two swords that have cleave is the master sword and the long sword
the master sword is the best on this level
the long sword is complete junk
so…
u have to turn to other options :frowning:

how do you get the master sword :thinking:

It was a limited edition sword which used to be unlocked at the level apocalypse.

sigh not a subscriber :frowning:

but chaboi_3000 i am not a subscriber

1 Like

Could you tell me your equipment? I used Tharin to beat this level, so it should work fine, use gloves of the emperor, chain-lightning is strong, and should deal about 120 damage

1 Like

This lvl is a sub level.

Though I beat this level using Arran and flags. There is no need to fight the ogres though.

That is true, but he is not subscriber.

1 Like