
Originally Posted by
ghazala
and got a question , does xeno makes sio to others ? and if so could someone tell me how it be done ? couse i have been trying and fail to find it
There is no built in sio function but you can use scripts for it. I'm using this one.
Code:
---------------------
------Auto-Sio-------
---Scripted-By-Eion--
---------------------
local PercentHPtoHeal = 75 -- PERCENTAGE of health and below to sio party members/war allies
local RandHP = 3 -- Health randomization percentage (over 5% is unnecessary and can cause slow heal times)
local SelfMP = 600 -- Minimum amount of mana to have when using sio (actual mana, not a percentage)
local RandMP = 3 -- Mana randomization percentage (over 5% is unnecessary and can cause slow heal times)
local SelfHP = 1000 -- Minimum health to have before using sio (actual health, not a percentage)
local RandHP2 = 3 -- Self health randomization percentage (over 5% is unnecessary and can cause slow heal times)
local HealParty = true -- Heal Party, true/false
local HealWarAllies = true -- HealWarAllies, true/false
local HealWhiteList = true -- Heal White list players, true/false
local WhiteList = {"NAME1", "NAME2", "NAME3"} -- names of players to heal as long as "HealWhiteList" is true
-- ! ! ! ! ! ! ! ! ! DO NOT TOUCH BELOW HERE ! ! ! ! ! ! ! ! ! --
function AutoSio()
local PercentHPtoHeal = (PercentHPtoHeal + (math.random((RandHP*-1),RandHP)))
local MPpercent = ((Self.Mana() / Self.MaxMana())*100)
local HPpercent = ((Self.Health() / Self.MaxHealth())*100)
local SelfMP = (((SelfMP / Self.MaxMana())*100) + (math.random((RandMP*-1),RandMP)))
local SelfHP = (((SelfHP / Self.MaxHealth())*100) + (math.random((RandHP2*-1),RandHP2)))
local mob = Self.GetSpectators(false)
for i = 1, #mob do
if mob[i]:isPlayer() then
playername = mob[i]:Name()
AfriendPos = mob[i]:Position()
if (HealWarAllies and mob[i]:isWarAlly()) or (HealParty and mob[i]:isPartyMember()) or (HealWhiteList and table.find(WhiteList, playername, false)) then
if (mob[i]:HealthPercent() <= PercentHPtoHeal) and (MPpercent >= SelfMP) and (HPpercent >= SelfHP) and (Self.DistanceFromPosition(AfriendPos.x, AfriendPos.y, AfriendPos.z) <= 7) and (Self.Position().z == AfriendPos.z) then
Self.Cast("exura sio \""..playername, 140)
wait(800,900)
break
end
end
end
end
end
while true do
AutoSio()
wait(100,125)
end