when my soldiers get to the cheiftain, the cheiftain does the good ogre thing and paralizes my soldiers
# What eldritch artifacts are these? Don't let them blast you!
# The ice gate will open when both ogres are defeated.
friends = hero.findFriends()
for friend in friends:
if friend.type == "paladin" or "soldier" or "archer":
hero.command(friend, "move", {"x": 50, "y": 49})
while True:
flag = hero.findFlag("green")
if flag:
hero.pickUpFlag(flag)
friends = hero.findFriends()
if hero.isReady("phase-shift"):
hero.phaseShift()
if enemy:
if enemy.type == "ice-yak" or "cow":
continue
else:
enemy = friend.findNearestEnemy()
hero.command(friend, "attack", enemy)
bflag = hero.findFlag("black")
if bflag:
hero.command(friend, "move", bflag.pos)