koen3950 wrote:
hello, i just started training necromancy with the curse weapon skill
i made this simple script:
sub main()
while uo.life > 50
while not uo.dead()
uo.cast("Curseweapon")
wait(2000)
wend
wend
end sub
i get the error :unknown spell name
for Curseweapon i allready tried other names like Curse Weapon etc
anybody knows how to cast this spell via injection script?
thanks, Koen
Sorry bad Anglish
uo.cast("Curse")
uo.waittargettype('Type weopon')
OR
uo.cast("Curse")
uo.waittargetobject('ID weopon')