[SOLVED]Backwoods Treasure flag help

? what doyou mean? 20 chars

im using the hammer to make the decoys…
and i have consercate ring after i remove teh flags/fire traps.

i also have chain lightning. that too…

maybe take out the hammer and decoy parts

replace it with the if distance to enemy == whatever, atack

okay…how is this now?

while True:
    item = hero.findNearestItem()
    if item:
        item = hero.findNearestItem()
        hero.move(item.pos)
        enemy = hero.findNearestEnemy()
        if enemy and hero.canCast("chain-lightning", enemy):
            enemy = hero.findNearestEnemy()
            hero.cast("chain-lightning", enemy)
        if hero.distanceTo(enemy) < 10:
            if hero.isReady('cleave'):
                hero.cleave(enemy)
            else:
                hero.attack(enemy)
            if hero.isReady('bash'):
                hero.bash(enemy)
            else:
                hero.attack(enemy)
            if enemy and hero.health <= 500 :
                hero.consecrate()
    

that better once i replace teh hammer with my sword?

i think this hsould be outside of the distance if.

should i get the Runesword??

i have enough gems…

ill make that edit.

NO not runesword. it’s not useful at all

it has like so bad dps (damage per second). if you have the gems get teh temple guard

what about keithsteel?

or the sword of the forgotten?

or mornings edge its also good

actually get kithsteel.

egde of darkness is open …

cuz then you dont need to fiddle with the numbers of distance

kithsteel, egde of darkness, or the morning’sedge?

you can just say

if hero.distanceTo(enemy) <= hero.attackRange:
    hero.attack(enemy)

kithsteel then morning

…the sowrd of the templaressss

kithsteel or templares sword??

kithsteel, then morning then templeares