Skip to content
Outlands Hub

Razor script

Spell Interrupt

by oakman8490 · 68 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.

Script Created by Oakman8490 This script is meant to bind to a hotkey for casting quick interruption spells.

Magic
Spell Interrupt.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/eaf9e038-2eba-4388-a947-10eaece2bf17 for latest2# Automation by Jaseowns3## Script: Spell Interrupt4## Created by: oakman8490#05#############################################6 7# Script Created by Oakman84908# This script is meant to bind to a hotkey for casting quick interruption spells.9 10# Set the minimum time between duplicate spells ==11@setvar! MagicArrowTimer 600012@setvar! HarmTimer 600013@setvar! FireballTimer 600014@setvar! LightningTimer 600015 16@setvar! checkLastTarget lasttarget 17@setvar! checkSelf self18 19if not timerexists "MagicArrowCast"20    createtimer "MagicArrowCast"21    settimer "MagicArrowCast" MagicArrowTimer22endif23if not timerexists "HarmCast"24    createtimer "HarmCast"25    settimer "HarmCast" HarmTimer26endif27if not timerexists "FireballCast"28    createtimer "FireballCast"29    settimer "FireballCast" FireballTimer30endif31if not timerexists "LightningCast"32    createtimer "LightningCast"33    settimer "LightningCast" LightningTimer34endif35 36if targetexists "beneficial" or targetexists "neutral"37    clearall 38endif39 40say "Stop right there!"41if skill "Magery" > 3042    if timer "MagicArrowCast" > MagicArrowTimer43        cast "Magic Arrow"44        settimer "MagicArrowCast" 045    elseif skill "Magery" > 4046        if timer "HarmCast" > HarmTimer47            cast "Harm"48            settimer "HarmCast" 049        elseif skill "Magery" > 5050            if timer "FireballCast" > FireballTimer51                cast "Fireball"52                settimer "FireballCast" 053            elseif skill "Magery" > 6054                if timer "LightningCast" > LightningTimer55                    cast "Lightning"56                    settimer "LightningCast" 057                endif58            endif59        endif60    endif61endif62wft63if checkLastTarget = checkSelf64    overhead "Pick a Target" 3465    stop66else 67    target lasttarget 68endif