Siv's Magery Trainer by Siv
Description from the author:
#°º¤ø,¸¸,øThe Siv Scriptsø¤°º¤ø,¸¸
#Sivs Magery Trainer
#example: train magery from your storage shelf
#1.)set current shelf loadout to include 10 (min) of each reagent.
#2.)stand next to your shelf and click play
##########################################################################################
#journal cleanup
clearsysmsg
#autofind your shelf
if not find 'shelf' ground any any 2
if findtype 'storage shelf' ground any any 2 as 'found'
overhead 'Found the shelf!'
setvar 'shelf' 'found'
elseif not findtype 'storage shelf' ground any any 2
overhead "You need to stand near your shelf!" 555
stop
endif
endif
#count important regs and restock from shelf
if not listexists 'regs'
createlist 'regs'
endif
clearlist 'regs'
#Bloodmoss
pushlist 'regs' '3963'
#Ash
pushlist 'regs' '3980'
#Mandrake
pushlist 'regs' '3974'
#Ginseng
pushlist 'regs' '3973'
#Spiders Silk
pushlist 'regs' '3981'
#Black Pearl
pushlist 'regs' '3962'
#Nightshade
pushlist 'regs' '3976'
#Garlic
pushlist 'regs' '3972'
foreach reg in regs
if counttype 'reg' backpack < 9
menu shelf 1
wait 200
endif
endfor
#meditate if low on mana to summon elemental
if mana < 50
while not insysmsg 'enter a meditative'
useskill 'meditation'
#there are 12 seconds between failure as far as I can tell
pause 12000
endwhile
while mana < maxmana
endwhile
endif
#begin training magery
if hits < 69
cast 'greater heal'
wft 3000
target 'self'
wait 500
elseif hits > 69 and skill 'magery' < 40
overhead 'Train Magery up to 50 at a vendor'
stop
elseif hits > 69 and skill 'magery' < 60
cast 'mana drain'
wft 3000
target 'self'
wait 500
elseif hits > 69 and skill 'magery' < 70
cast 'energy bolt'
wft 3000
target 'self'
wait 500
elseif hits > 69 and skill 'magery' < 75
cast 'invisibility'
wft 3000
target 'self'
wait 500
elseif hits > 69 and skill 'magery' < 80
cast 'flamestrike'
wft 4000
target 'self'
wait 1000
elseif hits > 69 and skill 'magery' < 100
cast 'air elemental'
wait 6750
if findtype '13' ground any any 2
say "an air elemental release"
wait 1000
endif
elseif hits > 69 and skill 'magery' == 100
overhead 'Magery Complete!'
stop
endif
#uhh... loop
loopThis one is a bit old, but it works. Simply setup your shelf profile to include at least 10 of each reagent, stand next to the shelf and click play. This script will cast offensive spells to build resist (poor method) as well as magery.