projecteq-projecteqquests/lua_modules/commands/endurance.lua

11 lines
278 B
Lua
Raw Permalink Normal View History

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() .. ")");
tar:SetEndurance(tar:GetMaxEndurance());
end
return endurance;