I made it to round 4, but now am stuck. I’ve tried to resolve this several ways, but no luck:
The code never progresses past the friends = line, so no idea if one of my attempts (shown) even helps. Code:
def commandTroops(): friends = hero.findFriends() if friends == None: pass else: for x in len(friends): friend = friends[x] if friend.type == "paladin": CommandPaladin(friend) elif friend.type == "soldier" or friend.type == "archer" or friend.type == "griffin-rider": CommandSoldier(friend) elif friend.type == "peasant": CommandPeasant(friend)
I’m betting it’s something simple, but darned if I see it. Oh…at this point, I no longer have any friends left alive and not yet enough gold to summon more.