Hi @LordlyLump, welcome to the discourse!
I donât have much experience with c++, but I think you might need a closing bracket on line 15 to close the if hero.isReady(âthrowâ) block. Or (if itâs like javascript) you could even put it before the else.
Danny
No I donât think hero.throwRange needs that. I donât want to give up too quickly but it might be because some levels donât work with no python/javascript languages. They havenât got them all fully working yet⌠But there could still be an error.
Danny
No, it was definitely a good point, youâd think you would need a bracket. But in this case itâs a property not a function. Like Math.Pi as opposed to hero.attack().
It is so cool that you guys are so responsive. Thank you very much :).
The problem persists in the next mission in that mission tree. It is called Shrapnel.
Is there any way of getting a peak at the classes you are using in game?
Im thinking of the hero class here specifically ( if that is what it is⌠NEWBIE! )
Ah, âpeekâ, yes . I have all the heroes you can see in the hero bar except for Ritic (sad times), do you want to see something specific about the heroes?
I see what you mean. Iâm not sure what itâs called in programming but in python at least you can use Math.Pi, like a class, and Math.random(0, 2). So I donât exactly know the difference. I think we might need a more experienced programmerâŚ
Cool with python. i donât know that language at all. It is so interesting seeing the differences.!
I have contacted my teacher.
He has over 30 years of experience with CPP. Such a cool and knowledgeable guy.
Do you think that the people who make this would be interested in letting him help out?
And if so how he can contact them?
Umm, Iâm not sure what you mean exactly. I donât think the hero. system is broken, I think itâs just the development of the c++ levels not quite being finished which is causing an error.
What kind of help are you thinking of? Although I, myself am not the best coder ever, I think the people who made CodeCombat do definitely know what theyâre doing .
But I think they do alwasy look for help. You can go to the github helping page: