Do you guys have any tips or code for Zero Sum? My code so far is:
while True:
enemies = hero.findEnemies()
nearestEnemy = hero.findNearest(enemies)
enemy = hero.findNearestEnemy()
# Your hero can collect coins and summon troops.
if hero.gold > hero.costOf("artillery"):
hero.summon("artillery")
elif hero.gold > hero.costOf("griffin-rider"):
hero.summon("griffin-rider")
else:
hero.attack(enemy)
friends = hero.findFriends()
for friend in friends:
hero.command(friend, "attack", friend.findNearest(enemies))
item = hero.findNearestItem()
ix = item.pos.x
iy = item.pos.y
hero.moveXY(ix, iy)
Let me know if you find anything!
2 Likes
i recommend doing these three tips:
peasant strat
getting peasants to do the the coin collecting or you do it yourself and instead make them do the decoy building so they build decoys firetraps and a some others.
the rushing strat
the rushing strat contains spamming soldiers and only coin collecting and summoning golden clouds that will bless you with a fortune of gold coins.
mixed unit strat
the mixed unit type strat is useful against people using the rush strat it contains using archers and soldiers and every once in a while a few peasant and a paladin.
1 Like
Im so sorry guys, I messed up, its a multiplayer arena.
Morgan_Farnell:
while True:
enemies = hero.findEnemies()
nearestEnemy = hero.findNearest(enemies)
enemy = hero.findNearestEnemy()
# Your hero can collect coins and summon troops.
if hero.gold > hero.costOf("artillery"):
hero.summon("artillery")
elif hero.gold > hero.costOf("griffin-rider"):
hero.summon("griffin-rider")
else:
hero.attack(enemy)
friends = hero.findFriends()
for friend in friends:
hero.command(friend, "attack", friend.findNearest(enemies))
item = hero.findNearestItem()
ix = item.pos.x
iy = item.pos.y
hero.moveXY(ix, iy)
which boss star is necessary for your code, im not copying, i already have a good strat?
ummm in zero sum you all are penders with bs5
every one has the same gear doe
I recommend to summon archers and soldiers.
yeah artillery may seem powerful they have friendly fire and are to slow at reloading and also has very low health