PDA

View Full Version : Exura Sio HELP



owca19942
05-17-2016, 08:38 PM
and if I can ask for a script to provide sio and describe how to run and what to do with it lest acted ??

Gluben
05-17-2016, 10:45 PM
local namesList = {"Knight1", "Knight2", "Knight3", "Knight4"}
local sioPercent = 70

while true do
for n, c in Creature.iPlayers() do
if (table.find(namesList, n, false) and c:HealthPercent() < sioPercent) then
if (getSelfSpellCooldown("exura sio") == 0 and Self.Mana() >= 140) then
Self.Say("exura sio "" ..n)
end
end
end
wait(200)
end

yompa93
05-18-2016, 06:15 AM
Added abit to the sio script Gluben posted.
supports rune healing aswell.



----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------
local HealingType = "rune" -- "sio" or "rune". --
local rune = "ultimate healing rune" -- Name of the rune, if you're using rune. --
local HealingRuneBP = "mushroom Backpack" -- Backpack which you have the runes in. --
local namesList = {"Knight 1", "Knight 2"} -- Name or names of the people you want to heal. --
local HealPercent = 70 -- which Health percent to heal the player at. --
----------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------

-- Do not edit below.


runeID = Item.GetID(rune)
local runeHealing = function()
local cont = Container.GetByName(HealingRuneBP)
for spot = 0, cont:ItemCount() do
local item = cont:GetItemData(spot)
if item.id == runeID then
local Players = Self.GetSpectators()
for i = 1, #Players do
if Players[i]:isPlayer() and Players[i]:HealthPercent() < HealPercent then Name = Players[i]:Name()
if table.contains(namesList, Name) then
cID = Players[i]:ID()
cont:UseItemWithCreature(spot, cID)
wait(700, 900)
break
end
end
end
end
end
end

while true do
for n, c in Creature.iPlayers() do
if (table.find(namesList, n, false) and c:HealthPercent() < HealPercent) then
if HealingType == "sio" and Self.CanCastSpell('exura sio') then Self.Say('exura sio "'.. n ..'"')
elseif HealingType == "rune" then runeHealing() end
end
end
wait(200)
end


What you do is, create a notepad file > paste this inside of it > save as whateveryouwant.lua with the filetype "all types". then put the .lua file in documents>xenobot>scripts. the config of the script is commented so i'm not gonna tell you how to do that stuff. have fun