Blazing Battle strategy trading chat!

oh… … … … … … sry @Oliver_Davidson mhm. I like to have an equal number of fire and force, so I can beat both fire and ice dudes…

1 Like

I wunder if u can win by doing dis… it is a very strange strategy i tried out… Screen Shot 2021-03-27 at 2.23.18 PM

look how funny this is: Screen Shot 2021-03-27 at 2.26.06 PM

Who knew there was an action for, “die”??? lol

3 Likes

Yes, it is a action.

2 Likes

Hi everybody,
can someone please show me how to set the next wave type?
When I try to set hero.setNextWaveTypes("robobomb") it just doesn’t work.
Thanks

I think you have to write more than one type.

Do three robobombs in a row.

NO the brackets need to be square onse not ()

as in, hero.setNextWaveTypes[“robobomb”]

One type works. Just the braket problem.

1 Like

I had noticed that too. I just wasn’t sure it was a problem.

1 Like

No you need to do hero.setNextWaveTypes(["robobomb"]).

If you look at the default…
hero.setNextWaveTypes(["robobomb", "robosoldier", "roboranger"])
It has parenthases ( ) and brackets [ ].

1 Like

Maybe but I think that is spam.

was to tell the computer it was a complete sentence. is what happens if 2 brackets are right next to each other.

Maybe you should define a function called onWave

def onWave():
  hero.setNextWaveTypes(["robobomb"])

and say

hero.on("wave", onWave)

It seems to work that way, have you tried it?

Hi! I’m a student, and I was curious how to find a specific enemy type in an array and create an if statement with that information. Specifically, when there are fire elementals, I want to replace one of my fire walls with an attacking unit.

How do you get the big towers?

1 Like

Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!

Which big towers? plz be specific.