anyway to make the addon delay its interupt feature so its not an instant cast?
any help would be appreciated.
anyway to make the addon delay its interupt feature so its not an instant cast?
any help would be appreciated.
Target.interruptsat >= x
Just have a scroll through the documentation post to get a full list of conditions with examples
This one isn't working properly, not sure what i'm doing wrong
It's just ignoring itCode:-- Interrupt { "Silence", "Target.interruptsat >=80", "target" },
This one works but ofcourse interrupts as soon as the cast starts
Code:-- Interrupt { "Silence", "modifier.interrupts", "target" },
Last edited by yobleed; 07-24-2015 at 04:33 PM.
~They call me HordeOnYourTube, but you can call me hoyt~
NeverthelessNeither InterruptsAt nor interruptAt conditions seem to be working for me too.Code:{ "Pummel", "target.interruptAt>= 30", "target" },
Last edited by Belamoor; 12-14-2015 at 07:17 AM.
Ok, i think i figured it out. The logic behind the PE interrupt conditions is wrong, it returns true on 95 % casting time instead of a current casting percentage value.
I rewrote it like this and and it works now.
ProbablyEngine.condition.register('interruptAt', function (target, spell)
if ProbablyEngine.condition['modifier.toggle']('interrupt') then
if UnitName('player') == UnitName(target) then return false end
local secondsLeft, castLength = ProbablyEngine.condition['casting.delta'](target)
if secondsLeft then
return (100 - secondsLeft / castLength * 100)
end
end
return false
end)
Last edited by Belamoor; 12-14-2015 at 07:54 AM.