Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Daenamaryllis
- #Heliantha
- #Roseantha
- Thread.new {
- loop{
- target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /arm|arms|child|guardsman/i }
- start_script( "sloot" ) if target.status =~ /dead|gone/ && target.name =~ /thief|rogue|bandit|mugger|outlaw|highwayman|marauder|brigand|thug|robber/i
- wait_while { running?('sloot') }
- wait_while { running?('wander') }
- fput ("gird") if ( righthand.nil? ) && Char.name =~ /Daenamaryllis|Roseantha|Heliantha|Kaight|Lilium|Daeoas/
- fput ("ready shield") if ( lefthand.nil? ) && Char.name =~ /Kaight|Akio|Phocosoen/
- fput "stand" if !standing?
- sleep 0.1
- waitrt?
- GameObj.pcs.each {|s| if s.status =~ /kneeling|sitting|^lying|prone/ && s.status !~ /stunned/ ;fput "pull #{s.noun}";end;}
- sleep 0.1
- GameObj.pcs.each {|s| if s.status =~ /stunned/ && Spell[108].affordable? && Char.name =~ /Daenamaryllis|Daeoas|Heliantha|Roseantha|Lilium/ ;fput "prep 108";fput "cast #{s.noun}";end;}
- waitrt?
- waitcastrt?
- sleep 1
- #REQUIRED FOR SIGIL OF POWER
- missingmana = maxmana - checkmana
- #SIGIL OF DEFENSE
- if !Spell[9707].active? && Spell[9707].known? && Spell[9707].affordable?
- Spell[9707].cast if checkmana > 5
- sleep 1
- #SIGIL OF OFFENSE
- elsif !Spell[9708].active? && Spell[9708].known? && Spell[9708].affordable?
- Spell[9708].cast if checkmana > 5
- sleep 1
- #SYMBOL OF PROTECTION
- elsif Char.name !~ /Kaight/ && !Spell[9805].active? && Spell[9805].known? && Spell[9805].affordable?
- Spell[9805].cast
- sleep 0.1
- #SYMBOL OF COURAGE
- elsif Char.name !~ /Kaight/ && !Spell[9806].active? && Spell[9806].known? && Spell[9806].affordable?
- Spell[9806].cast
- sleep 0.1
- #SIGN OF WARDING
- elsif !Spell[9903].active? && Spell[9903].known? && Spell[9903].affordable?
- Spell[9903].cast
- sleep 1
- #SIGN OF STRIKING
- elsif Char.name =~ /Daenamaryllis/ && !Spell[9904].active? && Spell[9904].known? && Spell[9904].affordable?
- Spell[9904].cast if Spell[9904].affordable?
- sleep 1
- #SIGN OF DEFENDING
- elsif !Spell[9907].active? && Spell[9907].known? && Spell[9907].affordable?
- Spell[9907].cast
- sleep 1
- #SIGN OF SMITING
- elsif Char.name =~ /Daenamaryllis/ && !Spell[9908].active? && Spell[9908].known? && Spell[9908].affordable?
- Spell[9908].cast if Spell[9908].affordable?
- sleep 1
- #SIGN OF SWORDS
- elsif Char.name =~ /Daenamaryllis/ && !Spell[9912].active? && Spell[9912].known? && Spell[9912].affordable?
- Spell[9912].cast if Spell[9912].affordable?
- sleep 1
- #SIGN OF SHIELDS
- elsif Char.name =~ /Daenamaryllis|Daeoas/ && !Spell[9913].active? && Spell[9913].known? && Spell[9913].affordable?
- Spell[9913].cast
- sleep 1
- #BURST OF SWIFTNESS
- elsif Char.name =~ /Bob/ && Spell[9625].known? && !Spell[9051].active? && Spell[9625].affordable?
- Spell[9625].cast if checkstamina > 31
- sleep 1
- #SURGE OF STRENGTH
- elsif Char.name =~ /Bob/ && Spell[9605].known? && !Spell[9606].active? && Spell[9605].affordable?
- Spell[9605].cast if checkstamina > 31
- sleep 1
- #SIGIL OF CONCENTRATION
- elsif !Spell[9714].active? && Spell[9714].known? && Spell[9714].affordable?
- Spell[9714].cast if checkstamina > 31
- sleep 1
- #SIGIL OF POWER
- elsif missingmana >= 25 && Spell[9718].known? && Spell[9718].affordable? && checkstamina > 75
- Spell[9718].cast if checkstamina > 75
- sleep 2
- end
- if checkpoison
- fput("incant 114") if Spell[114].affordable? && Spell[114].known?
- end
- if checkdisease
- fput("incant 113") if Spell[113].affordable? && Spell[113].known?
- end
- }
- }
- loop {
- wait_while { running?('sloot') }
- sleep 1
- if Char.name =~ /Daenamaryllis/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|'child'|'guard'|'guardsman'/i }
- fput "stance guarded" if Char.stance != 'defensive'
- sleep 1
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- start_script( "sloot" ) && target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- fput "search creeper"
- fput "stow left" if ( lefthand? )
- sleep 0.25
- fput "search plant"
- fput "stow left" if ( lefthand? )
- sleep 0.25
- fput "search tumbleweed"
- fput "stow left" if ( lefthand? )
- sleep 0.25
- fput "search shrub"
- fput "stow left" if ( lefthand? )
- sleep 0.25
- fput "loot room"
- while !(target.status =~ /dead|gone/) && !dead?
- # put "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/
- # fput("incant 1110 ##{target.id}") if target.status !~ /dead|gone/ && Spell[1110].affordable? && Spell[1110].known?
- # fput "guarded" if checkstance != "guarded" && target.status !~ /dead|gone/
- # waitrt?
- # waitcastrt?
- # sleep 0.25
- # fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/
- # fput("incant 118 evoke ##{target.id}") if target.status !~ /dead|gone/ && Spell[1110].affordable? && Spell[1110].known?
- # fput "guarded" if checkstance != "guarded" && target.status !~ /dead|gone/
- # waitrt?
- # waitcastrt?
- # sleep 0.25
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/ && Spell[111].affordable? && target.name !~ /dreadnought raptor|mastodonic leopard/
- fput("incant 111 ##{target.id}") if target.status !~ /dead|gone/ && Spell[111].affordable? && Spell[111].known? && target.name !~ /dreadnought raptor|mastodonic leopard/
- fput "guarded" if checkstance != "guarded" && target.status !~ /dead|gone/ && target.name !~ /dreadnought raptor|mastodonic leopard/
- waitrt?
- waitcastrt?
- sleep 0.25
- # fput("incant 1106 ##{target.id}") if target.status !~ /dead|gone/ && Spell[1106].affordable? && Spell[1106].known? && target.name !~ /cold guardian|sacristan spirit|wraith|kiramon worker|kiramon defender/
- # waitrt?
- # waitcastrt?
- # sleep 0.25
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/ && target.name !~ /dreadnought raptor|mastodonic leopard/
- fput("incant 1700 evoke ##{target.id}") if target.status !~ /dead|gone/ && Spell[1700].known? && target.name !~ /dreadnought raptor|mastodonic leopard/
- waitrt?
- waitcastrt?
- fput "guarded" if checkstance != "guarded" && target.status !~ /dead|gone/ && target.name !~ /dreadnought raptor|mastodonic leopard/
- sleep 0.25
- fput("incant 1101 ##{target.id}") if target.status !~ /dead|gone/ && Spell[1101].affordable? && Spell[1101].known? && target.name =~ /dreadnought raptor|mastodonic leopard/
- # fput "stance defensive" if checkstance != "defensive"
- # wait_while { running?('sloot') }
- # start_script( "combo" )
- # wait_while { running?('combo') }
- # sleep 0.25
- # waitrt?
- # waitcastrt?
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- end
- waitrt?
- waitcastrt?
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3619" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- else
- sleep 5
- start_script 'wander' if checknpcs.nil?
- wait_while { running?('wander') }
- sleep 0.25
- end
- elsif Char.name =~ /Heliantha/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|'child'|'guard'|'guardsman'/i }
- sleep 2
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- fput "stance guarded" if standing? && checkstance != "guarded"
- # fput ("prep 703") if Spell[703].affordable? && Spell[703].known? && target.name =~ /hierophant|dogmatist/
- # fput ("cast")
- # waitcastrt?
- fput ("prep 709") if Spell[709].affordable? && Spell[709].known? && target.status !~ /dead|gone/ && target.name !~ /grifflet|griffin|dreadnought raptor|mastodonic leopard|shrub|creeper|tumbleweed|plant|vine|bush/
- fput ("cast")
- waitcastrt?
- while !(target.status =~ /dead|gone/) && !dead?
- fput "sign of wracking" if (checkmana < 20 && checkspirit >= 6 )
- fput("sacrifice ##{target.id}") if target.status =~ /stunned/ && Spell[9008].active? && missingmana >= 100
- waitcastrt?
- # fput "send 5 daena" if (checkmana > 20)
- # fput "sign of wracking" if (checkmana < 20 && checkspirit >= 6 )
- # fput("incant 711 ##{target.id}") if target.status !~ /dead|gone/ && Spell[711].affordable? && Spell[711].known? && target.name =~ /dreadnought raptor|mastodonic leopard/
- # fput("incant 1700 ##{target.id}") if target.status !~ /dead|gone/ && Spell[1700].affordable? && Spell[1700].known? && target.name =~ /dreadnought raptor|mastodonic leopard/
- # fput("incant 705 ##{target.id}") if target.status !~ /dead|gone/ && Spell[705].affordable? && Spell[705].known? && target.name !~ /dreadnought raptor|mastodonic leopard/
- # waitcastrt?
- fput("incant 702 ##{target.id}") if target.status !~ /dead|gone/ && Spell[702].affordable? && Spell[702].known?
- waitcastrt?
- fput("sacrifice ##{target.id}") if target.status =~ /stunned/ && Spell[9008].active? && missingmana >= 100
- waitcastrt?
- # start_script( "sloot" ) if target.status =~ /dead|gone/
- # wait_while { running?('sloot') }
- end
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3619" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- # else
- # sleep 5
- # start_script 'wander' if checknpcs.nil?
- # wait_while { running?('wander') }
- # sleep 0.25
- fput "stop 709"
- # fput "loot room"
- end
- elsif Char.name =~ /Roseantha/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|'child'|'guard'|'guardsman'/i }
- sleep 2
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- fput "send 3 helia" if (checkmana > 20)
- fput "stance guarded" if standing? && checkstance != "guarded"
- fput ("prep 703") if Spell[703].affordable? && Spell[703].known? && target.status !~ /dead|gone/ && target.name =~ /hierophant|dogmatist/
- fput ("cast")
- waitcastrt?
- # fput ("prep 709") if Spell[709].affordable? && Spell[709].known? && target.status !~ /dead|gone/ && target.name !~ /grifflet|griffin|dreadnought raptor|mastodonic leopard|shrub|creeper|tumbleweed|plant|vine|bush/
- # fput ("cast")
- # waitcastrt?
- while !(target.status =~ /dead|gone/) && !dead?
- fput "sign of wracking" if (checkmana < 20 && checkspirit >= 6 )
- fput("sacrifice ##{target.id}") if target.status =~ /stunned/ && Spell[9008].active? && missingmana >= 100
- waitcastrt?
- # fput "send 5 daena" if (checkmana > 20)
- # fput "sign of wracking" if (checkmana < 20 && checkspirit >= 6 )
- # fput("incant 711 ##{target.id}") if target.status !~ /dead|gone/ && Spell[711].affordable? && Spell[705].known? && target.name =~ /dreadnought raptor|mastodonic leopard/
- # fput("incant 1700 ##{target.id}") if target.status !~ /dead|gone/ && Spell[1700].affordable? && Spell[1700].known? && target.name =~ /dreadnought raptor|mastodonic leopard/
- # fput("incant 705 ##{target.id}") if target.status !~ /dead|gone/ && Spell[705].affordable? && Spell[705].known? && target.name !~ /dreadnought raptor|mastodonic leopard/
- # waitcastrt?
- fput("incant 702 ##{target.id}") if target.status !~ /dead|gone/ && Spell[702].affordable? && Spell[702].known?
- waitcastrt?
- fput("sacrifice ##{target.id}") if target.status =~ /stunned/ && Spell[9008].active? && missingmana >= 100
- waitcastrt?
- # start_script( "sloot" ) if target.status =~ /dead|gone/
- # wait_while { running?('sloot') }
- end
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3619" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- # else
- # sleep 5
- # start_script 'wander' if checknpcs.nil?
- # wait_while { running?('wander') }
- # sleep 0.25
- # fput "loot room"
- end
- elsif Char.name =~ /Lilium/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|'child'|'guard'|'guardsman'/i }
- sleep 2
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- # fput "send 10 Kaight" if Char.name =~ /Lilium/ && checkmana > 75
- fput("incant 320 ##{target.id}") if target.status !~ /dead|gone/ && !Spell[320].active? && Spell[320].affordable? && Spell[320].known? && target.name !~ /construct|shrub|creeper|tumbleweed|plant|vine|bush/
- sleep 0.25
- waitrt?
- waitcastrt?
- fput("incant 309 evoke ##{target.id}") if target.status !~ /dead|gone/ && !Spell[309].active? && Spell[309].affordable? && target.name !~ /construct|shrub|creeper|tumbleweed|plant|vine|bush/
- sleep 0.25
- waitrt?
- waitcastrt?
- # fput("incant 240") if target.status !~ /dead|gone/ && !Spell[240].active? && Spell[240].affordable? && Spell[240].known? && target.name !~ /construct/
- # sleep 0.25
- # waitrt?
- # waitcastrt?
- while !(target.status =~ /dead|gone/) && !dead?
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/ && !Spell[1617].active?
- fput("kill ##{target.id}") if target.status !~ /dead|gone/ && target.name =~ /construct/
- fput "stance offensive" if standing? && checkstance != "offensive" && Spell[306].affordable? && !Spell[1617].active?
- fput("incant 306 evoke ##{target.id}") if target.status !~ /dead|gone/ && Spell[306].affordable? && target.name !~ /construct/
- sleep 0.25
- waitrt?
- # fput "guarded" if checkstance != "guarded" && target.status !~ /dead|gone/
- # waitcastrt?
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- end
- waitrt?
- waitcastrt?
- elsif percentmind > 80
- fput "boost long"
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "stance defensive" if checkstance != "defensive"
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3672" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- else
- sleep 5
- start_script 'wander' if checknpcs.nil?
- wait_while { running?('wander') }
- sleep 0.25
- end
- elsif Char.name =~ /Daeoas/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|'child'|'guard'|'guardsman'|'construct'/i }
- sleep 1
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- fput "loot room"
- fput "stance guarded" if standing? && checkstance != "guarded"
- fput "release"
- fput ("prep 703") if Spell[703].affordable? && Spell[703].known? && target.status !~ /dead|gone/ && target.name =~ /seer|adept|elemental|magus|siren|radical/
- fput ("cast")
- waitcastrt?
- fput "release"
- fput ("prep 709") if Spell[709].affordable? && Spell[709].known? && target.status !~ /dead|gone/ && target.name !~ /griffin|construct/
- fput ("cast")
- waitcastrt?
- while !(target.status =~ /dead|gone/) && !dead?
- fput("sacrifice ##{target.id}") if target.status =~ /stunned/ && Spell[9008].active? && missingmana >= 100
- waitcastrt?
- # fput("incant 705 ##{target.id}") if target.status !~ /dead|gone/ && Spell[705].affordable? && Spell[705].known?
- # waitcastrt?
- fput("incant 702 ##{target.id}") if target.status !~ /dead|gone/ && Spell[702].affordable? && Spell[702].known? && target.name !~ /construct|taint|being|gremlock/
- waitcastrt?
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- end
- waitrt?
- waitcastrt?
- # elsif percentmind > 80
- # fput "boost long"
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3619" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- # else
- # sleep 5
- # start_script 'wander' if checknpcs.nil?
- # wait_while { running?('wander') }
- # sleep 0.25
- fput "stop 709"
- fput "loot room"
- end
- elsif Char.name =~ /Kaight/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|'child'|'guard'|'guardsman'/i }
- sleep 1
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- fput "stance guarded" if standing? && checkstance != "guarded"
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- fput "send 10 akio" if Char.name =~ /Kaight/ && checkmana > 75
- # fput("incant 1618") if target.status !~ /dead|gone/ && !Spell[1618].active? && Spell[1618].affordable? && Spell[1618].known?
- # sleep 0.25
- # waitrt?
- # waitcastrt?
- fput("incant 1607") if target.status !~ /dead|gone/ && !Spell[1607].active? && Spell[1607].affordable? && Spell[1607].known? && checkstamina < 50
- sleep 0.25
- waitrt?
- waitcastrt?
- # fput "release"
- # fput("prep 1614") if target.status !~ /dead|gone/ && Spell[1614].affordable? && Spell[1614].known?
- # fput ("cast")
- # waitcastrt?
- fput "release"
- fput("prep 1608") if target.status !~ /dead|gone/ && Spell[1608].affordable? && Spell[1608].known? && target.name !~ /shrub|creeper|tumbleweed|plant|vine|bush/
- fput ("cast")
- waitcastrt?
- # fput "release"
- # fput("prep 1602") if target.status !~ /dead|gone/ && Spell[1602].affordable? && Spell[1602].known?
- # fput ("cast")
- # waitcastrt?
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/ && target.name =~ /griffin/
- fput("cman feint ##{target.id}") if target.status !~ /dead|gone/ && target.name !~ /griffen|construct|shrub|creeper|tumbleweed|plant|vine|bush/
- waitrt?
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone|prone|kneeling/ && target.name !~ /griffin/
- fput("shield bash ##{target.id}") if target.status !~ /dead|gone|prone|kneeling/ && target.name !~ /griffen|construct|shrub|creeper|tumbleweed|plant|vine|bush/
- waitrt?
- # fput("incant 1615 ##{target.id}") if target.status !~ /dead|gone/ && Spell[1630].affordable? && Spell[1615].known? && target.name =~ /ithzir adept|ithzir seer|war griffin/
- # waitcastrt?
- while !(target.status =~ /dead|gone/) && !dead?
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/ && target.name !~ /griffin/
- fput "mstrike" if checkstamina >= 50 && !Spell[9005].active? && target.status !~ /dead|gone/ && target.name !~ /griffin/
- waitrt?
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/
- fput("kill ##{target.id}") if target.status !~ /dead|gone/
- waitrt?
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- end
- waitrt?
- waitcastrt?
- # elsif percentmind > 80
- # fput "boost long"
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3619" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- else
- sleep 5
- # start_script 'wander' if checknpcs.nil?
- # wait_while { running?('wander') }
- sleep 0.25
- end
- elsif Char.name =~ /Akio/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /"arm"|"arms"|"child"|"guard"|"guardsman"/i }
- sleep 1
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- fput "release"
- fput ("prep 909") if Spell[912].affordable? && Spell[909].known? && target.name !~ /construct|griffin/
- fput ("cast")
- waitcastrt?
- fput("incant 917 fire ##{target.id}") if Spell[917].affordable? && Spell[917].known? && target.name !~ /griffin/
- waitcastrt?
- while !(target.status =~ /dead|gone/) && !dead?
- fput "stance offensive" if standing? && checkstance != "offensive" && Spell[520].affordable? && target.name !~ /construct/
- fput("incant 908 ##{target.id}") if target.status !~ /dead|gone/ && Spell[520].affordable? && target.name !~ /construct/
- fput "stance guarded" if checkstance != "guarded"
- waitcastrt?
- fput "stance offensive" if standing? && checkstance != "offensive" && Spell[910].affordable?
- fput("incant 904 evoke ##{target.id}") if target.status !~ /dead|gone/ && Spell[910].affordable?
- fput "stance guarded" if checkstance != "guarded"
- waitcastrt?
- start_script( "sloot" ) if target.status =~ /dead|gone/
- wait_while { running?('sloot') }
- end
- waitrt?
- waitcastrt?
- # elsif percentmind > 80
- # fput "boost long"
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "stance defensive" if checkstance != "defensive"
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3672" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- else
- sleep 5
- start_script 'wander' if checknpcs.nil?
- wait_while { running?('wander') }
- sleep 0.25
- end
- elsif Char.name =~ /Felstump|Phocosoen/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|child|guardsman/i }
- fput "stance guarded" if Char.stance != 'guarded'
- sleep 1
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- while !(target.status =~ /dead|gone/) && !dead?
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/
- fput("kill ##{target.id}") if target.status !~ /dead|gone/
- waitrt?
- sleep 0.25
- # start_script( "sloot" ) if target.status =~ /dead|gone/ && target.name !~ /spirit/
- # wait_while { running?('sloot') }
- end
- waitrt?
- waitcastrt?
- # elsif percentmind > 80
- # fput "boost long"
- # elsif percentmind(100)
- # echo ""
- # echo ""
- # echo "Your mind is full. Heading to town to absorb experience and rest."
- # echo ""
- # echo ""
- # fput "disband"
- # kill_script 'wander'
- # start_script 'go2', [ "3619" ]
- # wait_while { running?('go2') }
- # fput ("store weapon")
- # start_script 'sloot', [ "sell" ]
- # wait_while { running?('sloot') }
- # exit
- # else
- # sleep 5
- # start_script 'wander' if checknpcs.nil?
- # wait_while { running?('wander') }
- # sleep 0.25
- end
- elsif Char.name =~ /Vallystee/
- if target = GameObj.npcs.find { |npc| npc.type =~ /aggressive npc/ && npc.noun !~ /'arm'|'arms'|child|guardsman/i }
- fput "stance guarded" if Char.stance != 'guarded'
- sleep 1
- waitrt? if !(target.status =~ /dead|gone/)
- waitcastrt? if !(target.status =~ /dead|gone/)
- while !(target.status =~ /dead|gone/) && !dead?
- # fput("incant 1201 ##{target.id}") if target.status !~ /dead|gone/ && Spell[1202].affordable?
- # waitcastrt?
- fput "stance offensive" if standing? && checkstance != "offensive" && target.status !~ /dead|gone/
- fput ("jab ##{target.id}") if target.status !~ /dead|gone/
- sleep 0.25
- waitrt?
- start_script( "sloot" ) if target.status =~ /dead|gone/ && target.name !~ /zombie|sentry|hawk-owl|arachnid|basilisk|centaur/
- wait_while { running?('sloot') }
- end
- waitrt?
- waitcastrt?
- # elsif percentmind > 80
- # fput "boost long"
- elsif percentmind(100)
- echo ""
- echo ""
- echo "Your mind is full. Heading to town to absorb experience and rest."
- echo ""
- echo ""
- fput "disband"
- kill_script 'wander'
- start_script 'go2', [ "228" ]
- wait_while { running?('go2') }
- fput ("store weapon")
- start_script 'sloot', [ "sell" ]
- wait_while { running?('sloot') }
- start_script 'waggle'
- exit
- else
- sleep 1
- start_script 'wander' if checknpcs.nil?
- wait_while { running?('wander') }
- sleep 0.25
- end
- end
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement