Item Cooldown Progress - Item In Range combat bug with friendly target
mrbuds opened this issue ยท 0 comments
Is there an existing issue for this?
- I have searched the existing open and closed issues.
Description
Error in combat with item cooldown's item in range condition, it should work on friendly target while in combat
conditionTest = function(state, needle)
return state and state.show and (UnitExists('target') and C_Item.IsItemInRange(state.itemname, 'target')) == (needle == 1)
end,
WeakAuras Version
dev
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
EU
Tested with only WeakAuras
I got this issue with only WeakAuras enabled
Lua Error
1x [ADDON_ACTION_BLOCKED] AddOn 'WeakAuras' tried to call the protected function 'UNKNOWN()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: ?
[string "=[C]"]: in function `IsItemInRange'
[string "@WeakAuras/Prototypes.lua"]:5984: in function <WeakAuras/Prototypes.lua:5983>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/Conditions.lua"]:216: in function `CallCustomConditionTest'
[string "local newActiveConditions = {};"]:14: in function `?'
[string "@WeakAuras/Conditions.lua"]:875: in function <WeakAuras/Conditions.lua:866>
[string "@WeakAuras/Conditions.lua"]:895: in function <WeakAuras/Conditions.lua:891>
[string "=[C]"]: in function `CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>
Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
Reproduction Steps
Make new icon with Item Cooldown Progress triggger
Set an item with a range, i used a trinket that give a shield on my target
Set a condition to change color in red when Item In Range is false
Hit a target dummy to enter combat, select a friendly target => error
Last Good Version
No response
Screenshots
No response
Export String
!WA:2!Dr1pVTTruCjRcyaIIcB1udhdpyeGy7euuuyG4HU0iklfRazjvs6y3auiDK8jYlM6oM7oQ)y0HgnLzT2HcO52fn2Pcp0zcH(jWd9dG)c0E3jkL4OHtV37EV79h(73lF1I9k6x0)9hof7rj20eMhSBo2WMD7YbXP)L)V9F)sUC5MH8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