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
Yeah, that needs fixing!!!
Yeah sadly I posted it right after Venneth was last seen so it might be a bit before it’s fixed.
Should be fixed, let me know if it still happening, thanks for the report!
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.
.color
should now work for spirits, thanks for the report!
Are you calling m.attack?
No, I don’t even know what does that mean.
Does anyone know why my spirit keeps attacking dead enemies
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")
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)
oh ok, thanks for helping!
I’m having trouble with the spirit freezing after crystallizing; and only being able to blaze and not move, attack, or cast other specials.
This should be fixed, but if its still happening feel free to let us know
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.