2018-07-08 02:54:09 -05:00
|
|
|
local function endurance(e)
|
|
|
|
|
local tar = e.self:GetTarget();
|
|
|
|
|
if (tar.null) then
|
|
|
|
|
tar = e.self;
|
|
|
|
|
end
|
|
|
|
|
|
2023-08-13 17:16:42 -04:00
|
|
|
e.self:Message(MT.Yellow, "Targets endurance refreshed (" .. tar:GetCleanName() .. ")");
|
2018-07-08 02:54:09 -05:00
|
|
|
tar:SetEndurance(tar:GetMaxEndurance());
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
return endurance;
|