Sarven siege level help!


pet.on("spawn", onSpawn)
tower = self.findNearest(self.findFriends())
self.jumpTo({"x": 76, "y": 56})
self.cast("earthskin", self)
def onSpawn():
    while True:
        if pet.isReady("shape-shift"):
            pet.moveXY(36, 52)
            pet.moveXY(66, 50)

def commandPeasants():
    peasants = self.findByType("peasant")
    for i, peasant in enumerate(peasants):
        if >= peasant.costOf('decoy'):
            self.command(peasant, "buildXY", "decoy", peasant.pos.x - 2, peasant.pos.y)
            item = peasant.findNearestItem()
            if item:
                self.command(peasant, "move", item.pos)

while True:
    if self.distanceTo({"x": 74, "y": 51}) > 2:
        self.move({"x": 74, "y": 51})
    brawler = self.findNearest(self.findByType("brawler"))
    headhunter = self.findNearest(self.findByType("headhunter"))
    shaman = self.findNearest(self.findByType("shaman"))
    fangrider = self.findNearest(self.findByType("fangrider"))
    thrower = self.findNearest(self.findByType("thrower"))
    enemy = self.findNearest(self.findEnemies())
    if self.isReady('throw'):
    elif self.isReady("heal") and tower and < tower.maxHealth - 200:
    elif shaman and self.distanceTo(shaman) < self.attackRange:
    elif fangrider and self.distanceTo(fangrider) < self.attackRange:
    elif thrower and self.distanceTo(thrower) < self.attackRange:
    elif enemy and self.distanceTo(enemy) < self.attackRange:


the tower didn’t survive

Is there an error in the code?

No, the tower didn’t survive

throwing can damage your towers as well so throw when the enemies are away from ur tower (more than the blast raidius at least), also, i recommend summoning griffins instead, i dont think heal works on towers + grif arrows have kb :slight_smile:

Not better than decoys

dont spam attack special targeted types, just do attack enemy

also, try earthskining the towers

No you can’t riticmaster

oh sorry, than earthskin the peasant so he doesnt die for gold :slight_smile: (i use that strat and got to lvl 7 or 8, it was 3-2 yrs ago with senick’s throw-heal being op)

My hero didn’t survive

rip, use heavy boots? idk at this point

How did you get cript key?

also don’t use such good armor

try walking up and firing the archers with chain lightning

Hey, i think your reply is getting of topic, but it can only give you a simple method

No, the tower will died, i need to stand infront of the tower

I need to, just get the best armor in every level

Anyone help me???

Do you have better gear for warriors? If so try using a warrior instead of a ranger?