Skip to content
Outlands Hub

Razor script

Train Magery 0 to 100

by alistormccoy · 124 lines
Download
TrainingMagicMagery
Train Magery 0 to 100.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/1da69900-cec6-4689-aa3c-0de000ce0f23 for latest2# Automation by Jaseowns3## Script: Train Magery 0 to 1004## Created by: alistormccoy#05#############################################6 7// Train Magery 0 to 1008 9// Recommended to be in Shelter Dungeon while under 80 magery for increased skill gain!10// If you do start in Shelter Dungeon, the script will stop when you get to 80 and you will11// need to leave Shelter Island and restart the script if you want to gain past 80 skill12// Starting your charcter with 50 Magery, 49 Eval Int, and 1 Necromancy will give you13//  a spellstone with enough charges to get you to 80+ and beyond without needing regs14// If you are not in Shelter Dungeon, have a Storage Shelf within 2 tiles and a loadout that15//   includes regs OR have Restock Agent 10 set up for regs and a nearby container of regs.16 17// Regs Consumed:18// Lightning (50-60): ~100 Mandrake root, Sulfurous Ash19// Greater Heal (50-60): ~20 Spider Silk, Ginsing, Garlic, Mandrake Root20// Invisibility (60-80): ~400 Bloodmoss, Nightshade21// Summon Water Elemental (80 to 100): ~5000 Blood moss, Spiders Silk, Mandrake Root22 23// If you are getting ^You have not recovered^ messages, try increasing this number by 10024@setvar! "WaitTimer" 50025 26// If somehow you have already unlocked Spirit Pact for Water Elemental, set this to 127@setvar! "WaterEleSpiritPact" 028 29// Set this to 1 if you want to train 50 to 80 outside of shelter dungeon for some reason. NOT RECOMMENDED30@setvar! "ShelterOverride" 031 32 33 34 35// No Edit36// 4150 hay37// 3948 trash barrel38// 3703 moongate39// xD40removelist "shelter_checklist"41createlist "shelter_checklist"42@setvar! "in_shelter" 043if skill "Magery" < 8044    if "ShelterOverride" = 145    elseif findtypelist "shelter_checklist" 4150|3948|3703 "ground" any 1 18 and "ShelterOverride" = 046        if atlist "shelter_checklist" 0 and atlist "shelter_checklist" 5 and not atlist "shelter_checklist" 647            @setvar! "in_shelter" 148        else49            overhead "Go to the entrance of shelter dungeon first for increased skill gain!" 115950            stop51        endif52    else53        overhead "Go to the entrance of shelter dungeon first for increased skill gain!" 115954        stop55    endif56endif57 58@setvar! "restock_method" 059if "in_shelter" = 160elseif findtype "storage shelf" ground 0 1 2 as myStorageShelf61    @setvar! "restock_method" myStorageShelf62else63    overhead "No storage shelf nearby" 115964    overhead "Target your restock container" 115965    @setvar! "restock_container"66endif67 68@setvar "ManaThreshold" 2069while not dead and skill "Magery" < 10070    if "in_shelter" = 071        if counttype "Blood Moss" < 10 or counttype "Spider's Silk" < 10 or counttype "Mandrake Root%s%" < 10 or counttype "Nightshade" < 1072            if "restock_method" = 073                restock 1074                wft 20075                target "restock_container"76            else77                menu "restock_method" 178            endif79        endif80    endif81 82    if mana < "ManaThreshold"83        while diffmana > 384            if not findbuff "actively meditating"85                hotkey "Meditation"86            endif87            wait 50088        endwhile89    elseif skill "Magery" < 5090        overhead "Train to 50 at an NPC first!" 115991        stop92    elseif skill "Magery" < 6093        if hp < 4094            hotkey "Greater Heal"95        else96            hotkey "lightning"97        endif98        wft 350099        hotkey "Target Self"100    elseif skill "Magery" < 80101        hotkey "Invisibility"102        wft 5000103        hotkey "Target Self"104    else105        if "in_shelter" = 1106            overhead "Time to leave shelter! Cannot gain over 80 in here" 1159107            stop108        endif109        @setvar! "ManaThreshold" 50110        if findtype "a water elemental" true111            say "a water elemental release"112            wait 100113        endif114        hotkey "Water Elemental"115        if "WaterEleSpiritPact" = 1116            wait 2500117        else118            wait 5000119        endif120    endif121    wait "WaitTimer"122endwhile123 124overhead "Finished!" 1159