Skip to content
Outlands Hub

Razor script

Siv's Magery Trainer

by Siv · 103 lines
Download

����,��,�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

TrainingMagicMageryMeditation
Sivs Magery Trainer.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a715395e-fd44-40da-839a-94fa6e1f7eb8 for latest2# Automation by Jaseowns3## Script: Siv's Magery Trainer4## Created by: Siv#18815#############################################6 7#����,��,�The Siv Scripts������,��8#Sivs Magery Trainer9#example: train magery from your storage shelf10#1.)set current shelf loadout to include 10 (min) of each reagent.11#2.)stand next to your shelf and click play12##########################################################################################13#journal cleanup14clearsysmsg15#autofind your shelf16if not find 'shelf' ground any any 217    if findtype 'storage shelf' ground any any 2 as 'found'18        overhead 'Found the shelf!'19        setvar 'shelf' 'found'20    elseif not findtype 'storage shelf' ground any any 221        overhead "You need to stand near your shelf!" 55522        stop23    endif24endif25#count important regs and restock from shelf26if not listexists 'regs'27    createlist 'regs'28endif29clearlist 'regs'30#Bloodmoss31pushlist 'regs' '3963'32#Ash33pushlist 'regs' '3980'34#Mandrake35pushlist 'regs' '3974'36#Ginseng37pushlist 'regs' '3973'38#Spiders Silk39pushlist 'regs' '3981'40#Black Pearl41pushlist 'regs' '3962'42#Nightshade43pushlist 'regs' '3976'44#Garlic45pushlist 'regs' '3972'46foreach reg in regs47    if counttype 'reg' backpack < 948        menu shelf 149        wait 20050    endif51endfor52#meditate if low on mana to summon elemental53if mana < 5054    while not insysmsg 'enter a meditative'55        useskill 'meditation'56        #there are 12 seconds between failure as far as I can tell57        pause 1200058    endwhile59    while mana < maxmana60    endwhile61endif62#begin training magery63if hits < 6964    cast 'greater heal'65    wft  300066    target 'self'67    wait 50068    elseif hits > 69 and skill 'magery' < 4069    overhead 'Train Magery up to 50 at a vendor'70    stop71elseif hits > 69 and skill 'magery' < 6072    cast 'mana drain'73    wft 300074    target 'self'75    wait 50076elseif hits > 69 and skill 'magery' < 7077    cast 'energy bolt'78    wft 300079    target 'self'80    wait 50081elseif hits > 69 and skill 'magery' < 7582    cast 'invisibility'83    wft 300084    target 'self'85    wait 50086elseif hits > 69 and skill 'magery' < 8087    cast 'flamestrike'88    wft 400089    target 'self'90    wait 100091elseif hits > 69 and skill 'magery' < 10092    cast 'air elemental'93    wait 675094    if findtype '13' ground any any 295        say "an air elemental release"96        wait 100097    endif98elseif hits > 69 and skill 'magery' == 10099    overhead 'Magery Complete!'100    stop101endif102#uhh... loop103loop