Show me your setup.
Printable View
Is there any way to combine this with useroptions in setup?
Example useroption:
checkbox - Exori
checkbox - Exori Ico
Well, it should work as long as there are enough monsters to met the exori min requirement on your script, but it'll only face the best direction to shoot if there are enough monsters on that direction. For example, if you set it for 3 monsters, and there are 2 in your direction + 1 back, it won't shoot. You need to have all 3 in the range of spell. So I recommend setting that value to 2.
@Leonardo i cant get the script to work with new minos: i've tried it differently using "moo'tah warrior" and only "mootah warrior"
check it:
init start
local Monsters = {"worm priestess", "moo'tah warrior", "moohtant", "minotaur amazon", "minotaur hunter", "execowtioner"}
local Players = {
Consider = false,
Distance = 10,
FloorDifference = 1,
SafeList = {"Bubble", "Eternal Oblivion"},
}
local Spells = {
{Name = "exori gran", Amount = 3},
{Name = "exori", Amount = 2},
{Name = "exori min", Amount = 1},
{Name = "exori ico", Hppc = 0},
{Name = "exori hur", Hppc = 0},
{Name = "utito tempo", Amount = 5},
}
local SpecialAreas = {
-- {min x, max x, min y, max y, z}
}
local UseTargetState = false
-- DO NOT CHANGE ANYTHING BELOW THIS LINE
local i, LastFloor, Exhaust = 1, $posz, $timems
while Spells[i] ~= nil do
Spells[i].Info = spellinfo(Spells[i].Name)
if Spells[i].Info.words == 0 then
table.remove(Spells, i)
else
Spells[i].Monsters = Spells[i].Monsters or Monsters
Spells[i].NeedDirection = table.find({"WaveSmall", "WaveVerySmall", "WaveBig", "BeamSmall", "BeamBig", "Front", "Strike"}, Spells[i].Info.castarea) ~= nil
Spells[i].AttackSupport = Spells[i].Info.group:match("Support") ~= nil
table.lower(Spells[i].Monsters)
i = i + 1
end
end
init end
auto(200, 400)
if $posz ~= LastFloor then
LastFloor, Exhaust = $posz, $timems + 2000
return
end
if $timems >= Exhaust and ($targeting or not UseTargetState) then
for _, Spell in ipairs(Spells) do
if cancast(Spell.Info) and not isinsidearea(SpecialAreas) then
if Spell.Amount and (not Players.Consider or paroundfloorignore(Players.Distance, Players.FloorDifference, unpack(Players.SafeList)) == 0) then
local BestAmount, BestDir = 0, $self.dir
if Spell.NeedDirection then
for Dir, Amount in pairs({n = 0, e = 0, s = 0, w = 0}) do
Amount = maroundspell(Spell.Name, Dir, unpack(Spell.Monsters))
if Amount > BestAmount or (Amount >= BestAmount and Dir == $self.dir) then
BestAmount, BestDir = Amount, Dir
end
end
else
BestAmount = not Spell.AttackSupport and maroundspell(Spell.Name, BestDir, unpack(Spell.Monsters)) or maround(1, false, unpack(Spell.Monsters))
end
if BestAmount >= math.max(Spell.Amount, 1) then
while $self.dir ~= BestDir do
turn(BestDir) waitping()
end
cast(Spell.Name) waitping()
end
elseif Spell.Hppc and $attacked.hppc >= math.max(Spell.Hppc, 1) and table.find(Spell.Monsters, $attacked.name:lower()) and cancast(Spell.Info, $attacked) then
cast(Spell.Name) waitping()
end
end
end
end
Any solution?
@edit found it XD
try "moo\'tah"
Hello, I'm using your script, as a hotkey to auto face the enemy and cast gran frigo hur, but seens to be slow.
I already deleted auto(200, 400).
U can do a Hotkey Version?? Without check.
Like this, Face to back and cast skill, ALLWAYS TO BACK, i think this is faster, Thank you for amazing work.
Another QUestion
How Hotkeys really work?
Sometimes I use, and it activates only once, but sometimes are forever.
how can i use it to atack with avalanche when there is more than 1 monster, else attack with exori frigo?
i need it asap, please.
This forum seems to be abandoned, I have done about 6 posts, I have never helped.
Sorry I'm not always looking on all boards and posts, about your doubt it's not possible to make the attacker faster, a hotkey like you mentioned would be simple:
turn("direction") cast("spell")
Hotkeys are the scripts that run when you press a combo of keys, persistents run from a time to time, given by the function auto(minTime, maxTime).
HUD also works as persistents but they have more functions, if you copy a HUD to a persistent it'll return a lot of errors saying that the functions doesn't exist, but they do, they just have a different scope.
Thank you, very thank you.
And sorry for being boring,,,
but really wanted some scrips
Could you help me in this?
http://forums.tibiawindbot.com/showt...uto-Open-Doors
Its possible somethink like
turn("backward") ???
I want always cast to back
Thanks Thanks Thanks Thanks Thanks Thanks Thanks
When I press 1, 3, 7 or 9 to walk in diagonal bot is using hotkeys, lol
Yes, turn backward i alreadt solve.
but.. look this
http://uploaddeimagens.com.br/images...png?1407598797
I set Rune cast to END button, but when I press 1 in numeric keybord run the script, IDK why...
How to hit it by GFB and give vis hur?
Exori min not working here...
Why? :(
man you have a spells attack of paladin?
Thanks a lot! it works great, but i think i am doing something wrong, i want to attack a monster with exori hur and exori ico ONLY when it have for example LESS than 20% of hitpoints
can you help me?
Thanks
That's now how it's supposed to be, to do so, you need to edit line 79
elseif Spell.Hppc and $attacked.hppc >= math.max(Spell.Hppc, 1) and table.find(Spell.Monsters, $attacked.name:lower()) and cancast(Spell.Info, $attacked) then
to
elseif Spell.Hppc and $attacked.hppc <= math.min(Spell.Hppc, 100) and table.find(Spell.Monsters, $attacked.name:lower()) and cancast(Spell.Info, $attacked) then
Just put your paladin spells on.
@Leonardo the script work really good but for make work whit spells like eternal winter or divine caldera i need the edit the line 70?
from
BestAmount = not Spell.AttackSupport and maroundspell(Spell.Name, BestDir, unpack(Spell.Monsters)) or maround(1, false, unpack(Spell.Monsters))
end
to
BestAmount = not Spell.AttackSupport and maroundspell(Spell.Name, BestDir, unpack(Spell.Monsters)) or maround(6, false, unpack(Spell.Monsters))
end
Just change the distance for check the amount of monsters??
Well i understand then i can use that action??
init start
Monsters = {"Dragon", "Dragon Lord", "Demon"} -- add monsters here
Amount = 4
init end
auto(500)
if maround(5, unpack(Monsters)) >= Amount and cancastspell("spell for say") then
cast("spell for say")
wait(500,1000)
end
How can i get value from user options to Your script
My user options :Code:{Name = "Exori hur", Amount = getuseroption("AmountExoriHur")},
Code:
"type" : "lineedit",
"name" : "AmountExoriHur",
"description" : "",
"text" : "Amount Exori Hur",
"value" : "2"
i try to with :
but this doesn't workingCode:{Name = "Exori hur", Amount = tonumber(getuseroption("AmountExoriHur"))}
Thank you Leonardo it works great!;)
configuring for spells like "exori gran frigo hur", because when I set the same character not seen to use the magic ...
@Leonardo
Poderia me ajudar a ajustar uma action semelhante a estas que voces tem discutido, porem para tacar runas ?
This is a english forum, use this language.
Is simple just use search tool.
some useful actions and HUDs
http://forums.tibiawindbot.com/showt...ipts-and-HUD-s
Is there an option to use exevo vis hur with that action ?
Have how to change the exori hur and ico for Amount monsters?
@Leonardo
At line 38, I think you forgot to add WaveMedium to the list. Causes energy wave and terra wave to not cast.
@Leonardo only my bot do nothing if player on screen & up/down script should use exori ico & exori hur when player on screen + up/down
@Leonardo, I'm looking to make the script shoot spells faster, since I play Optional-PvP.
Could you please hint me on it?
Thanks!