Exori min not working here...
Why?![]()
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!![]()