Quote Originally Posted by undead mage View Post
Is it possible to heal all guild members? Like you could do on elf you had an option to choose to add all your guild members to your friend list to heal.
Its pretty sloppy code but it works, tested it with multiple guild members on screen at the same time and with players that were losing health that weren't in my guild.
lua code:

local percent = 80 -- Percent to heal any guild member

Module.New('heal-guild-members', function(mod)
local PlayersNear = Self.GetSpectators()
for i = 1, #PlayersNear do
if PlayersNear[i]:isPlayer() and PlayersNear[i]:isGuildmate() then
if PlayersNear[i]:HealthPercent() <= percent then
Self.Say('exura sio "' .. PlayersNear[i]:Name())
break
end
end
end
mod:Delay(500)
end)