Did CodeCombat change this?

I’ve been recently trying to do like enemy.id or enemy.type and it gives me the error type is null but then I did if enemy == “scout” and it work so I’m wondering did coco change the type and stuff?

No, CoCo did not change the type and stuff, else they would have told us.

i’m pretty sure they changed the style tho
the grey stuff

1 Like

I think it was classic like:

if enemy: #this part absence often causes errors
    if enemy.type=='shaman'

I think @ineedhelpwithcoding is right When I joined codecombat it was not like this it was black not a smidge of grey.

Yes, the style was changed recently with different colors. You can even enjoy red one)