Hey guys, please help me with that code.
It doesn’t work.
var potionsOnTheWall = 10;
var numToTakeDown = 1;
while(true) {
hero.say(potionsOnTheWall + " potions of health on the wall!");
hero.say(potionsOnTheWall + " potions of health!");
hero.say("Take " + numToTakeDown + " down, pass it around!");
potionsOnTheWall -= numToTakeDown;
hero.say(potionsOnTheWall + " potion of health on the wall.");
}