Good night people! I’m new to Python and I’m a little bothered by not having documentation for some methods… There’s also a lack of simple information like what the name of the stone is to be able to mention it in the lines of code… Where are you finding this simple information?
I find the level editor to be helpful in finding methods that aren’t documented:
CodeCombat - Coding games to learn Python and JavaScript?
The method for finding the rocks is hero.findBoulders()
could you specify what info you’re missing, then i’ll hook you up also welcome to the discourse make sure to check the rules here
I
I
V
Welcome to CodeCombat Discourse Forums!
Hi Guys! I’ve finished my mid-year exams and I’ve found a mysterious bug.
This is a match between me and ICEP208MO
When U Start Around 1:40 And watch the bottom right corner of the game, u will find that the orb has passed through the boulder and the first elemental of my enemy. It is trapped inside and not taking any damage since it is not touching the boulder.
that happened to me too
nevermind I just rose two ranks
Okay, this is just stupid.
from #2200 to #7 in ten minutes
BTW what’s play?
I think play
was supposed to be used to cast spells but they changed it to cast
and never updated the hints.
try using some spells, and some trickery, like summoning 3 orbs when there isn’t any units on a lane, thats what (@)ChickenMaster does, that’ll probably get you to first place
everyday, i will call out 2 pro players, you have to guess which one will win in fierce forces, no spectating or if you are one of the pro players, no battling each
other. lets go
- blasterdrag red code
- sharkycombat blue code
Ok thanks, but my magic makes me worse, I already tested. Does it look okay to you?
if(hero.isReady("pull")){
hero.cast("pull", lane, 70);
}
if(hero.isReady("push")){
hero.cast("push", lane, 47);
}
if(hero.isReady("burst")){
hero.cast("burst", lane, 47);
}
(lane is predefined)
you could put it in a function like
function castSpell() {
var lane = 2
if(hero.isReady("pull")){
hero.cast("pull", lane, 70);
}
if(hero.isReady("push")){
hero.cast("push", lane, 47);
}
if(hero.isReady("burst")){
hero.cast("burst", lane, 47);
}
}
while (true) {
hero.summon("snail", 2)
castSpell()
}
ok so heres the problem, you need it for the ogres side too, to positions 70, 47 47 is good for humans but for ogres side you just cast spells at the same area which will push at you
That’s exactly what I did, @NalfarCryptor , but it still lost me a roughly a thousand health.
(srry didnt look at the new comment)
ok, bye and goodnight ig
telling the answer for now, sharkycombat won, new one :
- buddeycc blue code
- iggymaster99 red code
for people who want to know the answer but no voting after you see this
This bug should be fixed, thanks for the report! If you still see any similar kind of thing happening you can let us know, thanks a lot!