Skip to content
Outlands Hub

Razor script

Change Wizard's Grimoire Profile

by arktik · 257 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Change the skill points for your Wizards Grimoire You are only allowed to reset skill points once every 5 minutes, so set the points correctly. This script does not check if you are spending more points than you have. The only section you…

Change Wizards Grimoire Profile.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/ac13a08c-c334-499d-9ada-5fb1b49a4eda for latest2# Automation by Jaseowns3## Script: Change Wizard's Grimoire Profile4## Created by: arktik#05#############################################6 7# Change the skill points for your Wizards Grimoire8# You are only allowed to reset skill points once every 5 minutes,9# so set the points correctly. This script does not check10# if you are spending more points than you have.11# The only section you need to modify is labeled below.12# The values designate your desired skill tier,13# not the number of points for the skill.14#15# Wizards Grimoire Skill Tiers16# 0 = no points for the skill17# 1 = first tier of the skill18# 2 = second tier of the skill19# 3 = third tier of the skill20# 21# --------------- Only Modify Values Below ---------------22@setvar! grim_tier_create_food 023@setvar! grim_tier_magic_arrow 024@setvar! grim_tier_reactive_armor 025@setvar! grim_tier_harm 026@setvar! grim_tier_cure 027@setvar! grim_tier_protection 028@setvar! grim_tier_fireball 029@setvar! grim_tier_bless 030@setvar! grim_tier_lightning 031@setvar! grim_tier_greater_heal 032@setvar! grim_tier_curse 033@setvar! grim_tier_mana_drain 034@setvar! grim_tier_mind_blast 035@setvar! grim_tier_magic_reflect 036@setvar! grim_tier_energy_bolt 037@setvar! grim_tier_explosion 038@setvar! grim_tier_flamestrike 039@setvar! grim_tier_chain_lightning 040@setvar! grim_tier_meteor_swarm 041@setvar! grim_tier_earthquake 042@setvar! grim_tier_resurrection 043# --------------- Only Modify Values Above ---------------44 45# Gump Nav Buttons46@setvar! grim_gump 128162370947@setvar! grim_prev 248@setvar! grim_next 349@setvar! grim_reset 450# Gump Skill Buttons51@setvar! grim_create_food 2052@setvar! grim_magic_arrow 2153@setvar! grim_reactive_armor 2254@setvar! grim_harm 2355@setvar! grim_cure 2056@setvar! grim_protection 2157@setvar! grim_fireball 2258@setvar! grim_bless 2359@setvar! grim_lightning 2060@setvar! grim_greater_heal 2161@setvar! grim_curse 2262@setvar! grim_mana_drain 2363@setvar! grim_mind_blast 2064@setvar! grim_magic_reflect 2165@setvar! grim_energy_bolt 2266@setvar! grim_explosion 2367@setvar! grim_flamestrike 2068@setvar! grim_chain_lightning 2169@setvar! grim_meteor_swarm 2270@setvar! grim_earthquake 2371@setvar! grim_resurrection 2072 73removelist "grim_action_list"74createlist "grim_action_list"75 76# TODO: Add initial actions to open grim, reset points, go to first page77 78if findtype "wizards grimoire" backpack as grim79    dclick grim80    waitforgump grim_gump81 82    # Go to First Page83    while not ingump "Create Food" 128162370984        gumpresponse grim_prev grim_gump85        waitforgump grim_gump86    endwhile87 88    # Reset Points89    pushlist "grim_action_list" grim_reset90    pushlist "grim_action_list" grim_reset91 92    # Page 1 Actions93    if grim_tier_create_food != 094        for 495            if "index" < grim_tier_create_food96                pushlist "grim_action_list" grim_create_food97            endif98        endfor99    endif100    if grim_tier_magic_arrow != 0101        for 4102            if "index" < grim_tier_magic_arrow103                pushlist "grim_action_list" grim_magic_arrow104            endif105        endfor106    endif107    if grim_tier_reactive_armor != 0108        for 4109            if "index" < grim_tier_reactive_armor110                pushlist "grim_action_list" grim_reactive_armor111            endif112        endfor113    endif114    if grim_tier_harm != 0115        for 4116            if "index" < grim_tier_harm117                pushlist "grim_action_list" grim_harm118            endif119        endfor120    endif121    pushlist "grim_action_list" grim_next122    # Page 2 Actions123    if grim_tier_cure != 0124        for 4125            if "index" < grim_tier_cure126                pushlist "grim_action_list" grim_cure127            endif128        endfor129    endif130    if grim_tier_protection != 0131        for 4132            if "index" < grim_tier_protection133                pushlist "grim_action_list" grim_protection134            endif135        endfor136    endif137    if grim_tier_fireball != 0138        for 4139            if "index" < grim_tier_fireball140                pushlist "grim_action_list" grim_fireball141            endif142        endfor143    endif144    if grim_tier_bless != 0145        for 4146            if "index" < grim_tier_bless147                pushlist "grim_action_list" grim_bless148            endif149        endfor150    endif151    pushlist "grim_action_list" grim_next152    # Page 3 Actions153    if grim_tier_lightning != 0154        for 4155            if "index" < grim_tier_lightning156                pushlist "grim_action_list" grim_lightning157            endif158        endfor159    endif160    if grim_tier_greater_heal != 0161        for 4162            if "index" < grim_tier_greater_heal163                pushlist "grim_action_list" grim_greater_heal164            endif165        endfor166    endif167    if grim_tier_curse != 0168        for 4169            if "index" < grim_tier_curse170                pushlist "grim_action_list" grim_curse171            endif172        endfor173    endif174    if grim_tier_mana_drain != 0175        for 4176            if "index" < grim_tier_mana_drain177                pushlist "grim_action_list" grim_mana_drain178            endif179        endfor180    endif181    pushlist "grim_action_list" grim_next182    # Page 4 Actions183    if grim_tier_mind_blast != 0184        for 4185            if "index" < grim_tier_mind_blast186                pushlist "grim_action_list" grim_mind_blast187            endif188        endfor189    endif190    if grim_tier_magic_reflect != 0191        for 4192            if "index" < grim_tier_magic_reflect193                pushlist "grim_action_list" grim_magic_reflect194            endif195        endfor196    endif197    if grim_tier_energy_bolt != 0198        for 4199            if "index" < grim_tier_energy_bolt200                pushlist "grim_action_list" grim_energy_bolt201            endif202        endfor203    endif204    if grim_tier_explosion != 0205        for 4206            if "index" < grim_tier_explosion207                pushlist "grim_action_list" grim_explosion208            endif209        endfor210    endif211    pushlist "grim_action_list" grim_next212    # Page 5 Actions213    if grim_tier_flamestrike != 0214        for 4215            if "index" < grim_tier_flamestrike216                pushlist "grim_action_list" grim_flamestrike217            endif218        endfor219    endif220    if grim_tier_chain_lightning != 0221        for 4222            if "index" < grim_tier_chain_lightning223                pushlist "grim_action_list" grim_chain_lightning224            endif225        endfor226    endif227    if grim_tier_meteor_swarm != 0228        for 4229            if "index" < grim_tier_meteor_swarm230                pushlist "grim_action_list" grim_meteor_swarm231            endif232        endfor233    endif234    if grim_tier_earthquake != 0235        for 4236            if "index" < grim_tier_earthquake237                pushlist "grim_action_list" grim_earthquake238            endif239        endfor240    endif241    pushlist "grim_action_list" grim_next242    # Page 6 Actions243    if grim_tier_resurrection != 0244        for 4245            if "index" < grim_tier_resurrection246                pushlist "grim_action_list" grim_resurrection247            endif248        endfor249    endif250 251    # Execute Actions252    foreach "grim_action" in "grim_action_list"253        gumpresponse "grim_action" grim_gump254        waitforgump grim_gump255    endfor256    gumpclose grim_gump257endif