I tried it with more confusing code, but I boiled it down to the essential problem. This happens with multiple players and when I try to play against anyone I get an infinite loop and can’t access the level.
Anyone else experiencing this?
I’ve tried it on other levels and it has worked fine. I’m on the blue side btw.
I would show you a screenshot, but there’s nothing to see. The level just freezes a few seconds after it starts.
Update: also doesn’t work on multiplayer treasure grove. Maybe it’s a multiplayer only thing.
Update: doesn’t work on Sarven Siege
Danny
I do not have Nalfar
but… I used to (reason I lost him is because I reset)
try using a variable likesomeVarableName=hero.findByType("whatever type of unit")
I saw the bug you mentioned on summit’s gate trying to buff a peasant. Here, though, I’m summoning a soldier, and in fact the soldier never even summons while I have the sacrifice code.
Here’s the console:
@nick, maybe you forgot to return out when the target/recipent doesn’t have an actions.attack.cooldown? Hence it returns an error that the code cannot get the cooldown of “attack”. I’ve just sent a patch to make it return when attack cooldown is invalid. Hopefully that fixes it.
@Deadpool198, if you see that kind of brown screen error, it’s likely some red error message showing in your browser JS console that will give us the clue to what’s happening.
Ah, thank you very much. That brown screen thing was only temporary, it’s gone now. I probably should have said that.
The sacrifice also works now, thanks for that. Whether my sacrifice-fence tactic will be able to beat Ursara is another question .
Danny