View Full Version : 1608 script
Orthin
07-21-2022, 01:36 PM
Does anyone know how to make a script that will keep 1608 up for me or have one somewhere I can snatch out of the repo?
Gelston
07-21-2022, 01:38 PM
Er, why not just stack it to 4 hours?
Gelston
07-21-2022, 01:39 PM
Oh, n/m, you mean the beacon of courage effect.
Orthin
07-21-2022, 01:41 PM
Oh, n/m, you mean the beacon of courage effect.
correct =)
onurb
07-21-2022, 06:53 PM
I don't have a paladin to test this out with, nor am I a pro coder, but I do believe this may work. Someone else may know a better way though.
if Spell[1608].known? and not Spell[1608].active? and Spell[1608].affordable?
then
Spell[1608].cast
else
exit
end
while line = get
if line =~ /The aura of lambent white-gold light motes surrounding you dissipates slowly/
if Spell[1608].affordable?
then
Spell[1608].cast
else
respond "No mana, can't refresh Beacon of Courage"
exit
end
elsif line =~ /The haze of lucent silvered ebon smoke surrounding you dissipates slowly/
if Spell[1608].affordable?
then
Spell[1608].cast
else
respond "No mana, can't refresh Beacon of Courage"
exit
elsif line =~ /The miasma of fog-hued mist surrounding you dissipates slowly/
if Spell[1608].affordable?
then
Spell[1608].cast
else
respond "No mana, can't refresh Beacon of Courage"
exit
end
end
Orthin
07-21-2022, 08:21 PM
I don't have a paladin to test this out with, nor am I a pro coder, but I do believe this may work. Someone else may know a better way though.
if Spell[1608].known? and not Spell[1608].active? and Spell[1608].affordable?
then
Spell[1608].cast
else
exit
end
while line = get
if line =~ /The aura of lambent white-gold light motes surrounding you dissipates slowly/
if Spell[1608].affordable?
then
Spell[1608].cast
else
respond "No mana, can't refresh Beacon of Courage"
exit
end
elsif line =~ /The haze of lucent silvered ebon smoke surrounding you dissipates slowly/
if Spell[1608].affordable?
then
Spell[1608].cast
else
respond "No mana, can't refresh Beacon of Courage"
exit
elsif line =~ /The miasma of fog-hued mist surrounding you dissipates slowly/
if Spell[1608].affordable?
then
Spell[1608].cast
else
respond "No mana, can't refresh Beacon of Courage"
exit
end
end
Ill definitely give err a go!
Maerit
07-21-2022, 09:44 PM
If you're on a recent version of Lich, this will do ya:
if Spell[1608].known?
loop do
wait_until { Spell[1608].affordable? && !Effects::Buffs.active?("Beacon of Courage") }
Spell[1608].cast
sleep 3
end
end
The sleep is necessary to catch the buff in you "Buffs" list in spell active, but may be longer than necessary. Also, this script would just be running in the background.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.