PDA

View Full Version : LUA file for self healing with spells



jollebollen
01-29-2016, 02:19 AM
Would be useful to make the self healing as fast as possible :)

Thanks!! :)

jollebollen
01-30-2016, 03:09 AM
bump :P

Jontor
01-30-2016, 12:32 PM
More important healing comes first in the table



local healing = {
{spell = "exura vita", percent = 30, mana = 160},
{spell = "exura gran", percent = 50, mana = 70},
{spell = "exura", percent = 80, mana = 20}
}

local hpPercent = 0

while (true) do
hpPercent = (Self.Health() / Self.MaxHealth()) * 100
for i = 1, #healing do
if (hpPercent <= healing[i].percent) then
if (getSelfSpellCooldown(healing[i].spell) == 0 and Self.Mana() >= healing[i].mana) then
Self.Say(healing[i].spell)
end
end
end
end

woohaabot
03-14-2016, 08:56 AM
More important healing comes first in the table



local healing = {
{spell = "exura vita", percent = 30, mana = 160},
{spell = "exura gran", percent = 50, mana = 70},
{spell = "exura", percent = 80, mana = 20}
}

local hpPercent = 0

while (true) do
hpPercent = (Self.Health() / Self.MaxHealth()) * 100
for i = 1, #healing do
if (hpPercent <= healing[i].percent) then
if (getSelfSpellCooldown(healing[i].spell) == 0 and Self.Mana() >= healing[i].mana) then
Self.Say(healing[i].spell)
end
end
end
end


What's the difference between this script and the built-in healer?

Jontor
03-14-2016, 02:05 PM
This one is way faster, but its more detectable
Just better to use on OTs

playmate
03-14-2016, 04:38 PM
This one is way faster, but its more detectable
Just better to use on OTs
Would it be less detectable if you add a +- percentage?

kamilqq
03-14-2016, 05:14 PM
Would it be less detectable if you add a +- percentage?

I think not much( precentage ), its (custom healer) more detectable because of speed, human react is like 1,2s and bot will heal instantly. So its obvious you use script.

woohaabot
03-17-2016, 06:08 PM
double post sorry

woohaabot
03-17-2016, 06:09 PM
This one is way faster, but its more detectable
Just better to use on OTs


I think not much( precentage ), its (custom healer) more detectable because of speed, human react is like 1,2s and bot will heal instantly. So its obvious you use script.

I've been using "w" bot for some time and xenobot healing is slower in comparison to this...

What do you think using this script only for the emergency "exura vita"?

Also, will this .lua override the built-in healer? I mean, if the priority is the buil-in one, the bot gonna spam "exura" and "exura gran" and not use "exura vita" even if reaches the heal percentage, right?

Thanks

Jontor
03-17-2016, 06:24 PM
The lua is faster, so it should use 'exura vita' first, "w" bot as you called it is faster, but also less human-like and quite possibly more detectable ( but you never know )

Fatality
03-17-2016, 07:41 PM
I think not much( precentage ), its (custom healer) more detectable because of speed, human react is like 1,2s and bot will heal instantly. So its obvious you use script.

If it takes you 1-2 seconds to heal, you're a bit mentally delayed.