The Snowhold Clash topic

hmm my spirit just sorta stands there

Are you close enought to the tower? Sometimes it does that if it isnt in range.

yea it makes it there, definetly there
image

Can you show me the code you use? Its supposed to be spirit.special("flare", enemy)

idk rlly its still similar and yes i do use

function spiritAct(data) {
    const spirit = data.spirit;
    const place = data.place;
    while (true) {
        let enemy = spirit.findNearestEnemy();
        spirit.moveToward(75, 15)
        if (enemy){
            spirit.special("flare", enemy)
        }
        if (enemy && spirit.isReady("haste")){
            spirit.special("haste", spirit)
        }
    }
}

Ok so I dont know javascript but I can think of some troubleshooting questions for you.

  1. Is the enemy properly selected?
  2. Is the code being executed into the spirit?
  3. Is the enemy a tower?
    If the enemy is not properly selected then the flare would be out of range like it looks like it is right now the the screenshot. Besides that the spirit should flare properly.

only if snowhold had

spirit.findByType()
or
spirit.findNearest()

Try to iterate over all towers and bases and find the closest one.

Is it even possible for spirits to cross the middle tower? It NEVER works for me.

It is possible, I do so (or at least I managed to do it before). But yes, there definitely is a bug with that.

And ummm. Is this supposed to be possible?
image

If you spawn them on the very edge they can do that. The borders are kinda screwy; melee units avoid the center as well. I just have my spirit go around either the top or bottom to get to it.

glicth lol

You can use spirit.findNearest(); but yeah you probably should just make your own custom findByType() function.

image
bruh

DimaP123’s spirit can cross the middle bridge
image
does anybody know how you do that??? :scream:

THEY FIXXED ITTTTTT!!! :partying_face: :partying_face: :partying_face: :partying_face: :partying_face:

Melee units still avoid the middle bridge though. :frowning_face:
Edit: they fixed that to. :partying_face:

Cool! Time to revamp half my code now…

I know!!! This might be the most influential change of the arena…