Closed ghost closed 11 years ago
Hmm....I'll look into it later - but the table looks good...
yes I don't know why the conditions doesn't match, but the soulstone doesn't worked, tested it again in a heroic scenario
Got it....the error was my bad....LUA's boolean logic is crap... true and 1 -> 1 so if the last condition evaluated to 1 my function tried to call 1 (since it didn't know how to handle numbers)....fixed Next thing - UnitPlayerControlled(unit) returns nil if the player is a ghost....do'h...fixed for the lock rotation...
Unfortunately jps.canCast() returns false...this can't be easily fixed... jps.UnitExists(unit) seems to be the problem there...but you don't want to remove this..we could add a list of spells (all brezz) for which this condition isn't checked...
thank you :)
yes you jps.canCast only on alive unit the best would be to write a small local fct just before the spelltable eg local cancastSoulStone = wl.soulStone(unit) if cancastSoulStone then spell = "Raise Ally" target = "target" return end
throwed an error for me. Was infight so can't only say it was something with the conditionparser. But the soulstone didn't worked
same for the dk's. Raisy Ally battle Rezz doesn't work, I don't know why: