tell me in the PM, this isn’t a level help
oh yeah sorry forgot
And you ened to say if it is ready to cleave THEN cleave and right now you’re just attack without cleaving you havent called the fnction cleave when close
That topic was not necessary. Onlly make level help topics if you nee dlep on a level
I thought I did do the function
Yes, you only defined it. you need to CALL it
For example:
def cle():
enemy = hero.findNearestEnemy()
if enemy and hero.isReady("cleave"):
hero.cleave(enemy)
else:
hero.attack(enemy)
while True:
cle()
1 Like
I’ll try @thebagel . Thx for the help. I don’t really understand calling and defining but i will get through it. you are very helpful.
No problem @Daniel_Gibson!
Um isn’t this a little off topic?
Good point. (20char)