The Snowhold Clash topic

For me the stat changes to the spirit were much more game-changing; especially the 40-60 damage change.

That helped a lot of lower ranking people. Not so much the higher up ones.

I noticed a very niche but still impactful bug:

if a spirit flares a tower and dies at a specific moment (I’m guessing after the flare has started and before the damage is calculated or smth idk how it exactly works) it will heal the tower instead of damaging it.

that is one bad glitch :exploding_head:

Yeah, that needs fixing!!! :exploding_head: :astonished: :exploding_head: :astonished:

Yeah sadly I posted it right after Venneth was last seen so it might be a bit before it’s fixed.

1 Like

Should be fixed, let me know if it still happening, thanks for the report!

2 Likes

I am unable to access color on a spirit.

“TypeError: Can’t read protected property: Can’t read protected property: color”

I don’t think .color works for any unit.
I’ve (and I assume other people) just sorted enemies using a custom findByType function that can sort between enemy and friend.

2 Likes

.color should now work for spirits, thanks for the report!

3 Likes

Does anybody know what does this error mean?

Are you calling m.attack?

1 Like

No, I don’t even know what does that mean.

Does anyone know why my spirit keeps attacking dead enemies :sob:
Here’s my code (yep it sucks)

def no(data):
    spirit = data.spirit
    place = data.place
    while True:
        enemyies = spirit.findNearestEnemy()
        if enemyies:
            if enemyies.health > 0:
                if enemyies and enemyies.type != "hero" and enemyies.type != "tower":
                    spirit.attack(enemyies)
                    spirit.special("haste")
                    spirit.moveTo(enemyies.x, enemyies.y)
                    spirit.special("blaze")
                    if hero.time > 75:
                        if spirit.isReady("crystallize"):
                            spirit.special("crystallize")
                        else:
                            hero.summon("archer", "A")
                            spirit.special("crystallize")
                    if hero.time < 75:
                        if spirit.isReady("blaze"):
                            spirit.special("blaze")
                        else:
                            hero.summon("archer", "A")
                            spirit.special("blaze")
1 Like

hello @th3ory welcome to the community this is a cozy chatting place!
here are some of the rules of the community if you havent checked them out!
--------------> Welcome to CodeCombat Discourse Forums! - CodeCombat Discourse
ok now we have the introduction out of the way heres the actual error

you need someone to haste/blaze on like for example

spirit.special("haste", spirit)
spirit.special("blaze", enemyies)
1 Like

oh ok, thanks for helping! :slight_smile:

1 Like

I’m having trouble with the spirit freezing after crystallizing; and only being able to blaze and not move, attack, or cast other specials.

1 Like

This should be fixed, but if its still happening feel free to let us know

2 Likes

Whatever you did helped; the spirit can cast haste and other spells, but can’t attack or move. It still targets whatever it would have been targeting though, but nothing happens.


spirit should be moving to (87, 40), but just targets it and does nothing.

If you go to the 0-11 leaderboard only a 11-14 guy is in there,