12-20-2023, 09:27 PM
Found a couple of scripts on the search feature but unfortunately needed changes done to it I cannot do myself or have the knowledge of so here is what I need.
What I need you if possible to do is this is a heal over time spell, so for 7 seconds it heals 175 HP I want it to if script heals "friend one" do not attempt to cast for another 7 seconds, it gets confusing because the script hopefully can tell if casted on x person don't cast on x person again if for 7 seconds
As for the other healing instants like exura sio, the tool is fine for that one.
local FRIENDS = { 'friend one', 'friend twol', 'friend three' } -- Players to sio.
local FRIENDS_HEALTH = 50 -- If hp% is lower than this then cast sio on friend.
local SAFE_HEALTH = 80 -- It will only cast sio if YOUR HP% is higher or equal than this. If you wanna ignore your hp, just setup as 0.
if connected() and cancast() and hppc() >= SAFE_HEALTH then
table.lower(FRIENDS)
local creatures = getcreatures('pfs')
for _, creature in ipairs(creatures) do
if creature.hppc <= FRIENDS_HEALTH and table.find(FRIENDS, creature.name:lower()) ~= nil then
cast('exura gran tempus "' .. creature.name)
wait(200, 400)
break
end
end
endWhat I need you if possible to do is this is a heal over time spell, so for 7 seconds it heals 175 HP I want it to if script heals "friend one" do not attempt to cast for another 7 seconds, it gets confusing because the script hopefully can tell if casted on x person don't cast on x person again if for 7 seconds
As for the other healing instants like exura sio, the tool is fine for that one.

