PDA

View Full Version : auto haste



mitikiti
12-15-2015, 11:04 PM
hi, how to make lua with auto haste? THX for help

krille09
12-15-2015, 11:35 PM
while true do
if not Self.isHasted() then
Self.Cast("utani hur")
end
end

mitikiti
12-15-2015, 11:38 PM
thanks :)

DarkstaR
12-16-2015, 12:22 AM
I really wouldn't use that script, it's gonna SD your CPU to death.

At the least, use this


while true do
if not Self.isHasted() then
Self.Cast("utani hur")
end
wait(1000, 2000)
end



But auto haste already exists in Support->Condition Manager, so I'm not sure why you need a script.

tibiaAdde86
03-27-2016, 12:56 PM
Often you dont need haste while hunting. Only running back for supplys. Im no scripter but is there A way to paus/start haste in condition manager with one line or something??

Jontor
03-27-2016, 01:36 PM
Often you dont need haste while hunting. Only running back for supplys. Im no scripter but is there A way to paus/start haste in condition manager with one line or something??

Not really, but try settings in Magic shooter -> empowerment, number of creatures to 0 and cast haste

tibiaAdde86
04-13-2016, 03:40 PM
Not really, but try settings in Magic shooter -> empowerment, number of creatures to 0 and cast haste

Ah, i like your thinking!
Now i got an ideé to improve one of my other scripts.

yompa93
04-16-2016, 10:26 AM
This is something i made myself, and it's by no means perfect.



useHaste = true -- put this in a label when walking to the spawn "ToHunt" or smth, false when "ReachHunt"




HasteSpell = "Utani hur" -- which spell to use

Module.New("Haster", function(module)
if not Self.isHasted() and useHaste and Self.CanCastSpell(HasteSpell) and not Self.isInPz() then
Self.Say(HasteSpell)
end
module:Delay(1000,2000)
end)