|
|
|
@ -399,6 +399,7 @@ function Bastion:GetTick() |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function Bastion:Ticker() |
|
|
|
function Bastion:Ticker() |
|
|
|
|
|
|
|
Bastion:Debug("Bastion:Ticker run") |
|
|
|
if not Bastion.CombatTimer:IsRunning() and UnitAffectingCombat("player") then |
|
|
|
if not Bastion.CombatTimer:IsRunning() and UnitAffectingCombat("player") then |
|
|
|
Bastion.CombatTimer:Start() |
|
|
|
Bastion.CombatTimer:Start() |
|
|
|
elseif Bastion.CombatTimer:IsRunning() and not UnitAffectingCombat("player") then |
|
|
|
elseif Bastion.CombatTimer:IsRunning() and not UnitAffectingCombat("player") then |
|
|
|
|