PDA

View Full Version : Sigil Keep up?



Kamkor
08-25-2008, 09:40 PM
Ok, I am a very novice scripter. I took this from Surge2.


loop {
if (Spell['sigil of minor bane'].active?)
waitfor "Your heightened awareness of your foes fades away."
elsif (stamina < 30)
respond("Not enough stamina")
wait_while { stamina < 30 }
else
fput "sigil of minor bane"
pause 1
end
}

For some reason, its not picking up the waitfor when the sigil goes down.

Any hints or thoughts would be good. Unless there is a script to keep sigils alive and I just over looked it.

Audriana
08-27-2008, 01:20 AM
there's like 4 of em...


#Sigils!
#["Sigil Contact", 9703, 1, 0]
#["Sigil of Resolve", 9704, 0, 5]
#["Sigil Minor Bane", 9705, 3, 3]
#["Sigil Defense", 9707, 5, 5]
#["Sigil Offense", 9708, 5, 5]
#["Sigil Minor Protection", 9710, 5, 10]
#["Sigil Mending", 9713, 10, 15]
#["Sigil Concentration", 9715, 0, 30]
#["Sigil Major Bane", 9716, 10, 10]
#["Sigil of Power", 0, 0, 50]

checkingonspellsA = ["Sigil Contact", 9703, 1, 0]
checkingonspellsH = [["Sigil Concentration", 9715, 0, 30], ["Sigil Mending", 9713, 10, 15], ["Sigil Offense", 9708, 5, 5], ["Sigil Major Bane", 9716, 10, 10], ["Sigil of Resolve", 9704, 0, 5]]

loop {
while !checkdead
if lefthand == "bow" or lefthand == "longbow"
waitrt?
checkingonspellsH.each do |checkit|
waitrt?
if !checkspell(checkit[1]) and checkmana(checkit[2]) and checkstamina(checkit[3])
put checkit[0]
pause("2s")
end
end
end
waitrt?
if !checkspell(checkingonspellsA[1]) and checkmana(checkingonspellsA[2]) and checkstamina(checkingonspellsA[3])
put checkingonspellsA[0]
pause("2s")
end
pause("2s")
waitrt?
if !checkmana(16) and checkstamina(65)
put "Sigil of Power"
pause("2s")
end
end
pause("10s")
}

That's the one I made. It requires you to have an up-to-date spell-list.txt:


9703:Sigil of Contact
17:1:1
You concentrate on your sigil\.
You sense that your attunement to the minds of others has ceased\.
#
9704:Sigil of Resolve
1.25:0:1
You experience a momentary flash of insight on how to best overcome nature's obstacles.
You feel your added insight slip away.
#
9705:Sigil of Minor Bane
1.25:3:1
As you concentrate on your sigil, you become slightly more aware of your foes and the weakest spots in their defenses\.
Your heightened awareness of your foes fades away\.
#
9707:Sigil of Defense
5.5:5:1
A shimmering aura surrounds you\.
The shimmering aura fades from around you\.
#
9708:Sigil of Offense
5.5:5:1
A faint blue glow surrounds your hands, subtly guiding your movements\.
The faint blue glow fades from around your hands\.
#
9710:Sigil of Minor Prot
1.25:5:1
As you concentrate on your sigil, you become slightly more aware of weak spots in your defenses\.
Your heightened awareness of your own defensive weaknesses fades away\.
#
9713:Sigil of Mending
10.25:20:1
Your heart begins to beat faster as your entire body becomes awash with a pleasantly warm sensation\.
The pleasantly warm sensation fades as your heart beat begins to return to normal\.
#
9715:Sigil of Concntrn
10.25:0:1
As you concentrate on your sigil, you feel more attuned to the flows of mana\.
Your heightened attunement to the flows of mana begins to fade\.
#
9716:Sigil of Major Bane
1.25:3:1
As you concentrate on your sigil, you become much more aware of your foes and the most vulnerable portions of their bodies\.
Your heightened awareness of your foes fades away\.