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)
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
There some advises:
- Summon troops & command them to defend hero
- Use fast sword. Use alternatives attacks first(bash, cleave, powerup)
- 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()
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.
thanks both of you guys
one thing i used the runesword i don’t have the master sword
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.
but the only cleave one i have is the long sword
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
thanks and i will see
and those two sword don’t have cleave
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
how do you get the master sword
It was a limited edition sword which used to be unlocked at the level apocalypse.
sigh not a subscriber
but chaboi_3000 i am not a subscriber
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
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.