hi. i don’t know what i need to do with the percent sign. here is my code:
defendPoints = [{"x": 35, "y": 63},{"x": 61, "y": 63},{"x": 32, "y": 26},{"x": 64, "y": 26}]
summonTypes = ["soldier","soldier","soldier","soldier","archer","archer","archer","archer"]
def summonTroops():
type = summonTypes[len(hero.built) % len(summonTypes)]
if hero.gold >= hero.costOf(type):
hero.summon(type)
def commandTroops():
friends = hero.findFriends()
for i in range(len(friends)):
friend = friends[i]
# Use % to wrap around defendPoints based on friendIndex
# Command your minion to defend the defendPoint
while True:
summonTroops()
commandTroops()
@Deadpool198 or @ActualllOLLIEpop, please one of you delete the solution so others won’t be able to use it and cheat at this level. About the bonus, try resummiting until you get a good seed and the bonus. This is how I got the bonus at least.