What levels do you need to do to get to the desert after rich forager

I have 175 health on Tharin (i am free to play) and I cant seem to beat this level no matter what. I only have 1736 gems, so getting new gear is out of question. Can someone help me?

also as the title says, after rich forager, which levels do you have to do to get to the desert?

Did you or did you not beat the level Siege of stonehold? If you can send me a screenshot of this that would be nice. Do you got access to the dessert I need to know. Your going to have to be more descriptive then that.

no i dont have access to the desert

I dont know where siege of stonehold is

So your stuck on rich forager, If so I would like to see your code to see if there can be any improvements.
siege of stonehold is next level of rich forager. If your code is not working see your code carefully for any Mistypes.

loop:
flag = self.findFlag()
enemy = self.findNearestEnemy()
item = self.findNearestItem()

if flag:
    self.pickUpFlag(flag)

elif enemy:
    self.attack(enemy)
    self.attack(enemy)
    self.attack(enemy)
    if self.isReady("cleave"):
        if self.distanceTo(enemy) < 5:
            self.cleave(enemy)
elif item:
        pos = item.pos
        itemX = pos.x
        itemY = pos.y
        self.moveXY(pos.x, pos.y)

this is my code

Merged Multi-post

i usually die on the last batch of enemies

Merged Multi-post

Also which world is the level “Minesweeper” in?

Merged Multi-post

i Got a hat which gives me 48 extra health. think thats enough health for me to win?

Merged Multi-post

I allso got the rusted iron breastplate

I am trying your code with dragon helmet only.
[Edit]
I just think you need more health you can earn gems by simulating games http://codecombat.com/play/ladder/cavern-survival