Hi,
I use the following script for Divine Protection
It should cast Divine Protection when under 35% HP and Bubble is on CD.if PQR_SpellAvailable(642) == false
and (100 * UnitHealth("player") / UnitHealthMax("player") < 35
and UnitDebuffID("player", 25771) == nil
and UnitAffectingCombat("player") ~= nil
and not IsMounted())
then return true end
For some reason "if PQR_SpellAvailable(642) == false" doesn't seem to work because the script is also executed when Bubble is of CD.
Is this a bug or is "if PQR_SpellAvailable(642) == false" the wrong command?
Hope you can help me.