trueoutsoldier
09-05-2011, 01:25 AM
Looking for either a current KoS script or some help creating my own. ultimately i'm hoping for something thats constantly running in the background and will have me remove my weapons and attack the target until dead or not in sight anymore.
I will be attempting to write up my own version but thats for tomorrow.
Please PM me with hints/tricks/tips or post here. I dont check the PC every day but i try and look in atleast 4-5 times a week.
sobrepasar
09-05-2011, 06:38 AM
this script is nasty. you're going to need to edit it for your own attacks. i never used it so you need to figure it out. but i believe bloodlust mode kills in town. yeah. don't use that, amigo. designed for a wizard in EN.
# Beatdown - Kill on sight
#
if Char.name =~ /trueoutsoldier/
ml_prep = "prep 917"
ml_command = "cast at"
ml_cost = 16
else
ml_prep = "prep 720"
ml_command = "cast at"
ml_cost = 20
end
kill_list = Array.new
nokill_list = Array.new
nokill_list = "Brinn", "Kerll", "Madmountan",
#hard_kill = "ENTERENEMY1HERE4HARDKILL", "ENTERENEMY2HERE4HARDKILL"
bloodlust = false
put_target = true
def mywait
exit if dead?
if Room.current.id == 13057
fput "hide"
sleep 0.5
else
sleep 0.05
waitcastrt?
waitrt?
end
end
if bloodlust
loop do
GameObj.pcs.each do |pc|
exit if dead?
next if pc.status =~ /dead/ or Room.current.id == 188 or nokill_list.include?(pc.noun)
pause_script("go2") if running?("go2")
pause_script("bigshot") if running?("bigshot")
pause_script("wander") if running?("wander")
waitrt?;waitcastrt?
fput "release"
target = put_target ? pc.noun : ""
# if checkmana(70)
# multifput "prep 435", "cast"
# waitrt?
# waitcastrt?
# if pc.noun =~ /ENTERENEMY1HERE|ENTERENEMY2HERE/
# put "prep 917" if Spell[917].affordable? and Char.name =~ /Wizard/
# put "prep 720" if Spell[720].affordable? and Char.name =~ /Sorcerer/
# else
put ml_prep #if Spell[519].affordable?
# end
result = dothistimeout "#{ml_command} #{target}", 1, /You (gesture|channel)/ if checkmana(ml_cost)
mywait if result
unpause_script("wander") if running?("wander")
unpause_script("go2") if running?("go2")
unpause_script("bigshot") if running?("bigshot")
# put ml_prep if Spell[519].affordable?
# result = dothistimeout "#{ml_command} #{target}", 1, /You (gesture|channel)/ if checkmana(ml_cost)
end
mywait
end
else
loop do
GameObj.pcs.each do |pc|
next if pc.status =~ /dead/ or Room.current.id == 188 or nokill_list.include?(pc.noun)
splash = dothistimeout "justice status", 1, /surroundings are calm enough|justice other than your own/
if splash =~ /justice other than your own/
pause_script("go2") if running?("go2")
pause_script("bigshot") if running?("bigshot")
waitrt?;waitcastrt?
fput "release"
target = put_target ? pc.noun : ""
put ml_prep if !ml_prep.empty?
result = dothistimeout "#{ml_command} #{target}", 1, /You (gesture|channel)/ if checkmana(ml_cost)
mywait if result
unpause_script("go2") if running?("go2")
unpause_script("bigshot") if running?("bigshot")
else
sleep 5
end
end
mywait
end
end
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.