"earthskin" spell do nothing anymore


#1

I bought the ring of earth. I works well, but yesterday I found out that it does not work anymore. It just do nothing. So method canCast return True, but hero do not cast it in real.
http://clip2net.com/s/3BmBwYt


#2

Please check on some easier level if it indeed works - I would highly suggest “The Evasion” level from forest for testing things out, I just used ring of earth and it works as intended. Hopefully we’ll be able to find what’s wrong.

(Python code I’ve used):

if hero.canCast("earthskin"):
        hero.cast("earthskin", hero)

If your character stands still and does nothing while the current action is locked on casting earthskin - it means you’re trying to cast a spell while you have a cooldown on spellcasting (probably not a problem in your case, as it mostly affects only mages). Could happen though, if you’ve just used chain-lightning.


#3

On kithgard-brawl level also does not wok.


#4

Odd I just ran that level and it was working with Tharin


#5

I find out that code not working in python if it iside the def function. So for me problem is solved. I just use it outside the function, but is looks like parser error.