dcmili.blogg.se

Codecombat walkthrough
Codecombat walkthrough









codecombat walkthrough

(i) munchkins can spawn anywhere on the level

Codecombat walkthrough code#

1-3) and change the ogre’s logic code as follows: Add additional munchkins so there are at least 2 up at any given time (i.e.

codecombat walkthrough

You have to go to the preceeding line and hit return in order to add a line … (python)Ī. Odd editing bug - adding lines of code via a hard return does not have the usual anticipated result. I suspect it is because I’m calling for multiple potions during the delay prior to the potion showing up. Suggestion: human troops (soldiers on up) should be able to drink potions.īug - it is very possible to end up with a stack of potions - some healing, some poison, even if you check to make sure there is no item prior to calling for a new one. I can call for all the potions I want while the munchkins are dead and not drink a single one. They can also sit on top of the munchkin’s spawn point and just slaughter them. Summoned human troops (other than peasants) can sit on top of the potions without causing them to be drunk. Please consider correcting the english in the summon potions command - maybe to something like “Please give me a potion.” For better or worse, the word “gimme” shouldn’t be in a teaching game if we can avoid it (and we can). You need to add a victory condition that you summon at least _ potions. As a minimum, remove the movement codes.Ĭurrently, you can win by just commenting out the code which summons the potions.

codecombat walkthrough

While I like the examples of “continue” and had not really used it myself in my code previously, this level feels a little light on substance. The win is too easy - involves maybe 1-2 lines of code.











Codecombat walkthrough