Try removing the false on maround() and see if it works the way you're expecting. I can't test here (f-acc ftw) but I believe this is the problem.
Printable View
Try removing the false on maround() and see if it works the way you're expecting. I can't test here (f-acc ftw) but I believe this is the problem.
will check tomorrow because going out now ;P And waiting for Leonardo reply
Regards
@RoxZin xD
It shouldn't work as you said, maround(1, false, "Rat") should return rat amount around 1 sqm on the same floor. And removing this from the function will fuck the script because utito tempo don't have a area of effect like the other spells entries, this is a workaround I did to use that spell.
@Dworak
Try this, if it still doesn't work, you must do a different hotkey to cast utito.
local Spells = {
{Name = "exori gran", Amount = 3, Monsters = {"Spitter","Crawler","Waspoid","Insectoid Worker"}},
{Name = "exori gran", Amount = 2, Monsters = {"Kollos","Spidris"}},
{Name = "exori", Amount = 2, Monsters = {"Spitter","Crawler","Waspoid","Insectoid Worker"}},
{Name = "exori", Amount = 1, Monsters = {"Kollos","Spidris"}},
{Name = "exori min", Amount = 2, Monsters = {"Kollos", "Spidris","Spitter","Crawler","Waspoid","Insectoid Worker"}},
{Name = "exori ico", Hppc = 5},
{Name = "exori hur", Hppc = 5},
{Name = "utito tempo", Amount = 2, Monsters = {"Kollos", "Spidris"}},
{Name = "utito tempo", Amount = 5, Monsters = {"Kollos", "Spidris","Spitter","Crawler","Waspoid","Insectoid Worker"}},
}
If you change maround(1, false, "Rat") to maround(1, "Rat") it will work the way you want, which is considering a few monsters and not all of them. While making maround(1, false, "rat", "cave rat") that means maround(1, unpack(all monsters that exist on Tibia)), hope you understand what I mean.
Was testing the area spell as a mage at grim reapers, it only cast Waves if i turn around manually.
Hi Leonardo.
This is script is good i was using it to hunt Rahemos but theres something that botters me. I want to cast utito tempo and then cast exori gran ico and then remaining exori's no matter what order. I made something like this:
local Spells = {
{Name = "utito tempo", Hppc = 80},
{Name = "exori gran ico", Amount = 1},
{Name = "exori gran", Amount = 1},
{Name = "exori min", Amount = 1},
{Name = "exori", Amount = 1},
}
The reason i used Hppc in utito tempo is because i only want to cast 1 utito tempo per Rahemos. So it would cast if Rahemos has 80% or more HPPC and won't cast anymore since exori gran ico will almost hit him to yellow. Sometimes it works. Sometimes it won't cast utito tempo or it casts exori gran or gran ico before utito tempo. Do you have any idea why?
Thank you!
Amazing hotkey. But I got one problem... When I'm running into respawn going to deposit, I change all my targeting list to attack 'only if trapped', and it cast some exori min/exori gran/exori while running hahaha Should be nice an option to cast spells only if attacking. Sorry if anyone requested it before, I didn't found.
@brad there is option to don't attack if you have Targeting off, so maybe just make to switch off targeting + action if stand time +30 seconds then targeting ON ??
local UseTargetState = false
Use True for targeting off
That problem with utito tempo that @Dworak mentioned is already solved?
Hello,
After the last update (2.0.7) something changed, because it is casting all the time even if the cooldown is up. So I got the message "You are exhausted" all the time.
Best regards,
Shiba
Same here :P
edit: just removed cancast and added cancastspell . now is working well xd
@Leonardo, same here, i think there is problem with Leo lib's so i will wait till update Library ;P
@Dworak @mistgun @Shiba
Yes it's a fix in my library. You can download it right now or wait till the next version of the bot which will bring the update automatically.
Download Link
Downloaded by WindBot updater! Thanks !
@Leonardo, check this script again. It seems like you wrote smth wrong. It cast exori hur/ico when hppc is higher than this instead of lower xD
It's not casting 'exori hur' when I have 2 monsters on my screen. I did something wrong or what?Code:local Spells = {
{Name = "exori gran", Amount = 4},
{Name = "exori", Amount = 3},
{Name = "exori min", Amount = 3},
{Name = "exori ico", Amount = 1},
{Name = "exori hur", Amount = 2},
{Name = "utito tempo", Amount = 5},
@Leonardo, if hppc = 10 will cast between 100 and 10... to cast less that 10 i can use if hppc <= 10?
i use this hotkeys to hur and ico ^^
if $attacked.id ~= 0 and $attacked.isshootable and getuseroption("usespells") and maround(1, "Gozzler", "Stone Golem", "Gargoyle") >= tonumber(getuseroption("ExoriHur")) and cooldown("Exori Ico") == 0
then
cast("Exori Hur")
end
if $attacked.id ~= 0 and $attacked.isshootable and getuseroption("usespells") and maround(1, "Gozzler", "Stone Golem", "Gargoyle") >= tonumber(getuseroption("Exori Ico")) and cooldown("Exori Ico") == 0
then
cast("Exori Ico")
end
This script will shoot utito tempo before exoris? Also will it shoot exori ico/exori if there are 5 monsters too or only if 1?
@Leonardo
Is working good, thanks so much :)
Can't get this to use exori min. Should I change my targeting stance or something like that? Because the char won't turn to the creatures and face them..