Whats wrong? Bug?

Move to Eszter and get the secret number from her.

hero.moveXY(16, 32)
esz = hero.findNearestFriend().getSecret()

Multiply by 3 and subtract 2 to get Tamas’s number.

Remember to use parentheses to do calculations in the right order.

Move to Tamas and say his magic number.

tam = (esz * 3) - 2
hero.moveXY(24, 28)
hero.say(tam)

Subtract 1 and multiply by 4 to get Zsofi’s number.

Move to Zsofi and say her magic number.

hero.moveXY(34, 26)
sofi = (tam - 1) * 4
hero.say(sofi)

Add Tamas’s and Zsofi’s numbers, then divide by 2 to get Istvan’s number.

Move to Istvan and say his magic number.

hero.moveXY(42, 22)
ist = (tam + sofi) / 2
hero.say(ist)

Add Tamas’s and Zsofi’s numbers, subtract Istvan’s number from Zsofi’s, and multiply the results to get Csilla’s number.

Move to Csilla and say her magic number.

hero.moveXY(50, 18)
csl = (tam + sofi) * (sofi - ist)
hero.say(cal)

and it is wrong!
please help.

hero.moveXY(50, 18)
csl = (tam + sofi) * (sofi - ist)
hero.say(csl)

and it is wrong!
please help.

Level - The wizards plane.

Move to Csilla and say her magic number.
hero.moveXY(50, 18)
csl = (tam + sofi) * (sofi - ist)
hero.say(cal)

you do hero.say(cal) instead of hero,.say(csl)

Yes! But its wrong anyway>

hero.moveXY(50, 18)
csl = (tam + sofi) * (sofi - ist)
hero.say(csl)

Last wizard kill me, because the number is wrong.

Try to move by marks (крестики). Your hero “move” wizards and as the result the wrong wizard hears your answer.

I am seeming to have the same issue. I think that there might be a bug? unless I am just missing something here?

// Move to Eszter and get the secret number from her.
hero.moveXY(16, 32);
var esz = hero.findNearestFriend().getSecret();

// Multiply by 3 and subtract 2 to get Tamas’s number.
// Remember to use parentheses to do calculations in the right order.
// Move to Tamas and say his magic number.
var tam = (esz * 3) - 2;
hero.moveXY(24, 28);
hero.say(tam);

// Subtract 1 and multiply by 4 to get Zsofi’s number.
// Move to Zsofi and say her magic number.
var zso = (tam - 1) * 4;
hero.moveXY(32, 24);
hero.say(zso);

// Add Tamas’s and Zsofi’s numbers, then divide by 2 to get Istvan’s number.
// Move to Istvan and say his magic number.
var ist = (tam + zso) / 2;
hero.moveXY(40, 20);
hero.say(ist);

// Add Tamas’s and Zsofi’s numbers, subtract Istvan’s number from Zsofi’s, and multiply the results to get Csilla’s number.
// Move to Csilla and say her magic number.
var csi = (tam + zso) * (ist - zso);
hero.moveXY(48, 16);
hero.say(csi);

I will get killed by the last one every time. But I am following the directions 100%

var csi = (tam + zso) * (ist - zso); is wrong. Should be

var csi = (tam + zso) * (zso - ist);