Plexus

Plexus

430k Downloads

Accessing globals

Dairyman opened this issue ยท 1 comments

commented

Hi, this classic changes write/read now global variables

Change:

Plexus/Statuses/Heals.lua

Lines 112 to 114 in 4e9b19b

if not Plexus:IsClassicWow() then
incoming = UnitGetIncomingHeals(unit) or 0
end

To:

local incoming = 0
if not Plexus:IsClassicWow() then 
     incoming = UnitGetIncomingHeals(unit) or 0 
end 

And

if not Plexus:IsClassicWow() then
amount = UnitIsVisible(unit) and UnitGetTotalAbsorbs(unit) or 0
end

To:

local amount = 0
if not Plexus:IsClassicWow() then 
     amount = UnitIsVisible(unit) and UnitGetTotalAbsorbs(unit) or 0 
 end 
commented

Thanks!