Help in clash of clones

I do javascript so I didnt know how to write it the python way

2 Likes

Also, try “yak” instead of sand yak there could be a problem there

No it’s “sand-yak”
20 characterd

1 Like

Ok, that could be just me because it registers yak as correct IDK

it should be sand-yak because if you are in a level and you click on the yaks the type shows up as sand-yak

2 Likes

oh, my bad sorry (20 chars)

try using a better shield like one that can bash

1 Like

for that use if enemy and enemy.type != "sand-yak" like you did up there

is basically using special abilities i beat the level with the right code but not the right equipment i also recommend the cleave sword.You can jump in the middle and cleave

1 Like

is good but if there isnt an enemy?

1 Like

thats why you put it in a if enemy loop

3 Likes

Try to cleave near enemy archers. (that worked for everyone I helped)

3 Likes

I finished it by myself thanks for the help and advice!

2 Likes

great :grin:
congratulations

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.