Witam potrzebuje jakiegoś bota,aby miał funkcję sio chodzi mi ponad najnowszą wersję tibi,podobno na xenobocie w lua,można ustawić sio friend.
zna się ktoś na tym wie jak to zrobić?
CONFIG = {
LIST = {"Macon Bacon", "Hukuh", "Zogaroth"},
HEAL_LIST = true,
HEAL_PARTY = false,
HEAL_ALLY = false,
SIO_RAGE = 7,
UH_RAGE = 7,
MAS_RES_RAGE = 2,
HEALTH = 80,
METHOD = "SIO" -- SIO, UH, MS
}
function UseRune(ID, NAME)
for i = 0, 15 do
BP = Container.New(i)
for SPOT = BP:ItemCount() - 1, 0, -1 do
if (BP:GetItemData(SPOT).id == ID) then
BP:UseItemWithCreature(SPOT, NAME)
end
end
end
end
while true do
for i = CREATURES_LOW, CREATURES_HIGH do
local creature = Creature.GetFromIndex(i)
if (creature:isValid()) then
if (creature:isOnScreen() and creature:isVisible() and creature:isAlive()) then
if (creature:isWarAlly() and CONFIG.HEAL_ALLY) or (creature:isPartyMember() and CONFIG.HEAL_PARTY) or (table.find(CONFIG.LIST, creature:Name(), false) and CONFIG.HEAL_LIST) then
if (creature:HealthPercent() <= CONFIG.HEALTH) then
if (CONFIG.METHOD == "SIO" and creature:DistanceFromSelf() <= CONFIG.SIO_RAGE) then Self.Cast("Exura Sio \""..creature:Name(), 140)
elseif (CONFIG.METHOD == "UH" and creature:DistanceFromSelf() <= CONFIG.UH_RAGE) then UseRune(3160, creature:ID())
elseif (CONFIG.METHOD == "MS" and creature:DistanceFromSelf() <= CONFIG.MAS_RES_RAGE) then Self.Cast("Exura Gran Mas Res", 350)
end
end
end
end
end
end
wait(100)
end
Ostatnio zmieniony przez hugo999 : 08-06-2014, 19:51
Kontakt ze mną:
pw
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki