[SOLVED] Help! Restless Dead [Python]

The level can be passed with no sword ( check other topics about restless dead). I think it can be finished even with health under hundred. There is no need every level to be a carnage using the most deadly hero with the most sophisticated weapon and sacrificing all your minions.


I disagree with Ana. I use more often defend , not attack. You can summon soldiers to defend a point near the enemies and summon archers to defend the entrance of the enemy camp.

Ok, thank you for the suggestion.But can you give me an example of what the functions would be like if I wanted to summon both archers and soldiers?

https://codecombat.com/play/level/steelclaw-gap?

Good suggestion but I don’t think she / he can understand the code because steelclaw gap comes after restless dead.

I’m a she, and yes, I can’t understand the code that Steelclaw Gap is telling me to write.

Ahh ok I’ll break it down for you.

What do you mean, by breakin it for me?

So basically you learns the operator % in this level, it’s basically the same thing like math you divide a unit by unit returns you the remaining units.
Ex. 4 % 2 = 0 or 5 % 2 = 1. The 0 and 1 stands for the reminder.

P.S if your above 5th Grade you should’ve be able to understand this

I’m typing on iPhone so more typo… and I don’t have my Mac with me so I can’t access the level.

Ohhh… ok, I understand now, thank you!
Lydia

If you need anymore help feel free to ask and you can also read thought the hints it gives a better explanation.

This topic is about Steelclaw Gap.

instead of

try this.

because you named the variable

which has a

in

in

I don’t understand what you mean. Can you be more specific?

nvm I private messaged you

There is a funny solution of the level with Naria, lightning stick and Lydia Song’s favorite pugicorn pet:
naria
I confess it’s a little bit seed dependent and the code can be improved.
I solved this puzzle after passing all the free levels in the mountain, it’s hard…

laugh out loud (20 characters)

I don’t have the pugicorn unfortunately.
Lydia

You have the baby griffin, right?
griffin
hint -> the types of enemies are:

decaying-shaman
decaying-archer
decaying-skeleton
rotting-general

Yes, so… which enemy should I attack first?
Lydia