;==========================================================================
; Script Name: SUO Champ Spawn Helper (Ilsh only for now)
; Author: Cerveza
; Version: 1.0b
; Shard OSI / FS: OSI / FS OK
; Revision Date: 03/10/2009
; Purpose: Uses hotkey to attack spawn in Ilsh which don't give a karma hit.
; NOTE: Will attack Serpentine Dragons at the last level of spawn!
; You will take a slight karma loss on each Dragon.
; Will use Discord if selected.
; Globals:
; Thanks: C2 - this should be called C2's Ilshenar Spawn Worker Lite
; TrailMyx - LocateCreature sub from his Spawn Stealer
;==========================================================================
; Version: 1.0a - first release
; Version: 1.0b - added "All Follow Me"
; Version: 1.0c - added Z axis range check
; - added check target status (live or dead)
; - changed "All follow me" timer to 8 seconds
;==========================================================================
; Visit www.ScriptUO.com
;==========================================================================
; ********** setup **********
set %hotkey F1 ; edit this to your hotkey
set %spawn NB_XI_EF_WF_PB
set %timer_follow #sCnt
display Target your Pet
set #TARGCURS 1
wait 5
while #TARGCURS = 1
wait 0
set %PetID #ltargetid
wait 5
display yesno Use Discord?
if #dispRes = yes
{
set %discord #TRUE
set %timer_disco #sCnt
}
; ********** main loop **********
repeat
onhotkey %hotkey
{
gosub LocateCreature %spawn
if #RESULT <> #FALSE
{
set %target #findID
gosub Attack %target
}
}
finditem %PetID
if #finddist >= 8 && #sCnt > %timer_follow
{
msg all follow me $
set %timer_follow ( #sCnt + 8 )
}
until #false
; ********** subs **********
sub LocateCreature
namespace push
namespace local LC
set !spawn %1
for !i 1 10
{
finditem !spawn G_ , !i
if #FINDCNT > 0
{
set #FINDINDEX #RANDOM % #FINDCNT + 1
namespace pop
return #FINDID
}
}
namespace pop
return #FALSE
sub Attack
namespace push
namespace local ATK
set !target %1
finditem !target G_10
if #findCnt = 0 || #findz > 29
return
set #ltargetID !target
set #ltargetKind 1
if #sCnt > %timer_disco && %discord = #TRUE
{
event macro 13 15 ; discord
target 3s
event macro 22 0 ; last target
set %timer_disco ( #sCnt + 11 )
wait 5
}
msg All Kill $
target 5s
event macro 22 0 ; last target
repeat
finditem !target
until #findCnt = 0
wait 5
namespace pop
return
; ****************** RESERVED FOR FUTURE USE ******************
; Set %spawn_semidar W_BE_UC_UD_YH_N_ ; Imps, Mongbats, gargoyles, harpies, burning gargs, stone gargs
; Set %spawn_mephitis UE_SD_K_J_U_HD_PD_EJ_UI_ ; Scorpions, Giant Spiders, Terathan Warriors, Terathan Drones, Dread spiders, Matriarch, Avengers, PEs
; Set %spawn_rikktor QE_AE_DE_FE_AB_QF_XE_YE_X_DF_CD_DI_ ; Lizardmen, Snakes, Lava lizards, ophidian warriors, Dragons, Ophidian Avengers
; Set %spawn_oaks WH_XI_SH_SC_ ; Pixies, Shadow Wisps, Kirins, Unicorns
; Set %spawn_baracoon XF_VE_IE_OE_HE_LD_BI_RB_UB_ ; ?, Slime, Ratman, Ratman Archer, Ratman Mage, ?, Hellhound
; Set %spawn_niera II_WI_TI_YD_WD_NI_ ; Mummies, Skeletal Knights, Wraiths, Spectres
; Set %spawn_serado IH_DE_GH_PH_HH_FH_ ; Deathwatch Beetle, Lizardmen, Kappa, Revenant Lion, Hiryu, Oni
; set %spawn_all %spawn_semidar , %spawn_mephitis , %spawn_rikktor , %spawn_oaks , %spawn_baracoon , %spawn_niera , %spawn_serado
; set %spawn_level1
; set %spawn_level2
; set %spawn_level3
; set %spawn_level4
; set %spawn_champs
; neira HS, baracoon IS, semidar IJ, rikktor GJ, mephitis FJ, oaks HJ
; finditem HS G_20
; if #findkind <> -1
; {
; finditem #findid
; event property #findid
; if neira in #property
; set %champ #true
; }
; Abyss: Mongbats and Imps, Gargoyles and Harpies, Fire Gargoyles and Stone Gargoyles, Daemons and Succubi, Semidar
; Arachnid: Scorpions and Giant Spiders, Tera Drones and Tera Warriors, Dread Spiders and Tera Matriarchs, Poison Eles and Tera Avengers, Mephitis
; Cold Blood: Lizardmen and Snakes, Lava Lizards, Oph Enf and Oph Warriors, Drakes and Oph Justicars and Oph Zealots, Dragons and Oph Avengers and Oph Errants, Rikktor
; Forest Lord: Pixies and Shadow Wisps, Ki-rins and Wisps, Centaurs and Unicorns, Ethereal Warriors and Serpentine Drags, Lord Oaks and his Forest Queen Silvani
; Vermin Horde: Giant Rats and Slimes, Dire Wolves and Ratmen, Hell Hounds and Ratman Mages, Ratman Archers and Silver Serpents, Barracoon the Piper
; Unholy Terror: Ghouls and Shades and Specs and Wraiths, Bone Magi and Mummies and Skel Mages, Bone Knights and Liches and Skel Knights, Lich Lords and Rotting Corpses, Neira the Necromancer
; Tokuno Islands: DW Beetle Hatchlings and Lizardmen, DW Beetles and Kappas, Lesser Hiryus and Rev Lions, Hiryus and Onis, Special Yamandon (Name Unknown)
terça-feira, 9 de fevereiro de 2010
SUO Champ Spawn Helper
Scrip para ajudar a se fazer oak champ spawns em llesnar, da discord nos momnstros, ataca os que nao removem karma etc, utiliza gdragon caso você tenha enre outras funções.
Marcadores:
Easyuo Scripts
Assinar:
Postar comentários (Atom)
0 comentários:
Postar um comentário