This is my code so far
while hero.gold > hero.costOf("soldier"):
hero.summon("soldier")
soldiers = hero.findFriends()
soldierIndex = 0
while True:
soldier = soldiers[soldierIndex]
hero.command(soldier, "move", {"x": 50, "y": 40})
soldierIndex += 1
while True:
hero.findNearestEnemy()
hero.attack(enemy)
if you have any tips for me that would be welcome. 
Ok so there is no enemies. I will change that.
while hero.gold > hero.costOf("soldier"):
hero.summon("soldier")
soldiers = hero.findFriends()
soldierIndex = 0
while True:
soldier = soldiers[soldierIndex]
hero.command(soldier, "move", {"x": 50, "y": 40})
soldierIndex += 1
hero.moveXY(50, 40)
hero.command(soldier, "move", {"x": 50, "y": 40})
It says āneeds something to commandā even though it is commanding the soldiers?
@enPointe77
Just move the to red x so move 50 40 then you summon simple hahahaha
1 Like
Oh. you move first? I did not know that.
btw this is a tips 20 charss
just do that first that you just need to summon no need to command
1 Like
Ha. it worked. Thats kinda funny.
lol if you use pender then caste haste then move to the X mark youll be like top 10 fastest in the leader board
I over complicate things. lol.
1 Like
Sorry. Iāve been away from home. I couldnāt get back.
system
Closed
13
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.