LunaUnitFrames

LunaUnitFrames

268k Downloads

Mouseover on friendly target incorrectly targets last target

missesjones opened this issue ยท 0 comments

commented

I ran into an issue where I was getting unexpected behavior with targeting. This is in the 1.12.1 branch.

If my current target is a friendly target, and I run a Lua function for them using lunamo, e.g. /lunamo Detox:CureUnit('target'), it will change my target to the last target.

I believe this is due to a bug in the block at https://github.com/Aviana/LunaUnitFrames/blob/1.12.1/LunaUnitFrames.lua#L261.

I believe this block should resemble either 245 or maybe 268. I tried modifying the code to resemble 245 and it worked as expected.