What are you supposed to do in the siege of stonehold?

You’re a Wizard, Feinty!

2 Likes

Lol level 5 Harry Potter reference right there :wink:

3 Likes

Try this:

loop {
    var enemies = this.findEnemies();
    for(var i = 0; i < enemies.length; ++i) {
        var enemy = enemies[i];
        // You will need 800+ health
        if(enemy) {
            this.attack(enemy);
        }
    }
}
2 Likes

Thats weird, I only beat in 1 try with S.A.A
I use both python and javascript

2 Likes
// You'll need great equipment and strategy to win.
loop {
    var enemy = this.findNearestEnemy();
    if(enemy) {
        this.attack(enemy);
    }
}


// for python users:
loop: 
    enemy = self.findNearestEnemy()
    if enemy:
        self.attack(enemy)
2 Likes

@shoodong check that out but hey I beat it easily
with a simple mahogany glasses and panted steel everything

2 Likes

It is a good idea…

2 Likes
//you need nothing, but a good strategy.

//right-down
this.buildXY("fire-trap", 113, 31);

//middle-down
this.buildXY("fire-trap", 58, 18);
this.buildXY("fire-trap", 56, 17);
this.buildXY("fire-trap", 54, 16);
this.buildXY("fire-trap", 54, 15);

//right-down
this.buildXY("fire-trap", 113, 31);

//middle-down
this.buildXY("fire-trap", 58, 18);

this.moveXY(101, 93);

//middle-up
this.buildXY("fire-trap", 74, 121);

//right-up
this.buildXY("fire-trap", 126, 122);

//middle-up
this.buildXY("fire-trap", 74, 121);

//left-up
this.buildXY("fire-trap", 21, 120);

this.moveXY(26, 67);
3 Likes

thank you It’s very smart!

2 Likes

@Nutoej you have a health problem in codecombat. I saw you only had 300 something health. You can use the buildXY hammer. If you subscribe, your troubles all over. Try this:

loop {
     var flag = this.findFlag();
     if(flag) {
        this.buildXY("fire-trap", flag.pos.x, flag.pos.y);
        this.pickUpFlag(flag);
    }
}
2 Likes

http://discourse.codecombat.com/t/drop-the-flag-help/2496/14?u=j_f_b_m

Also while the CC-Team is happy about every subscription, this forum is not a subscription-market and I count this as advertisement. Also, if you write bad code, even the best gear can’t help you.

How exactly did you saw that Nutoej has only 300 HP? Multiplayer-level? Maybe s/he only used some old gear and never bothered updating? Just a thought.

2 Likes

Yeah, in multiplayer like dueling grounds he had 300 something health.

2 Likes

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

2 Likes

I tried it with the flags and buildXY. Since the last version of siege of stonehold, this masterpiece has gotten much much much much easier. I tried it with my iron armor (that is not my best armor). Heres my code:

loop {
    var flag1 = this.findFlag("green");
    var flag2 = this.findFlag("black");
    var flag3 = this.findFlag("violet");
    if(flag1) {
        this.buildXY("fence", flag1.pos.x, flag1.pos.y);
        this.pickUpFlag(flag1);
    }
    if(flag2) {
        this.buildXY("fire-trap", flag2.pos.x, flag2.pos.y);
        this.pickUpFlag(flag2);
    }
    if(flag3) {
        this.pickUpFlag(flag3);
    }
}

Note: I had 313 health in my try.

2 Likes

The post you answered is over 4 month old! Please keep the dead resting!

2 Likes

@J_F_B_M Sorry for continueing to post on a dead topic. In such a situation as this, wouldn’t it be best just to continue this topic? Rather than creating a whole new topic about siege of stonehold? Maybe have one global thread on each level.

2 Likes

Indeed a good point. I will talk with my colleagues about it, then we’ll probably clean the topic and make it official. We even might have a new category for it.

2 Likes

17 days isn’t really dead it’s kind like its dieing

2 Likes

But it almost died between February and 19 days ago.

2 Likes

Even more so than posting on a thread that hadn’t seen activity in a month, he is replying to the OP who on that Same Day had posted that he succeeded. (meaning, op posted success the same day as op had op’ed) :smile:

Not only that but he “shoodong” has already posted in this thread back in January when the thread may have had some life in it (not really, but at least it’s carcass wasn’t cold yet) . . . but the post a month after the last post in this thread ! ? ! ? there was no hanging question to be answered, nothing worth adding to add . . . seemingly posting for the sheer joy of posting…

1 Like