Skip to content
Outlands Hub

Razor script

Script for [L%C]Amadeus

by DaKlue · 154 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.

CASTING//////////////////////

DiscordanceHiding
Script for LCAmadeus.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/62573f8d-6f94-49e5-b39a-276f4cbeeca4 for latest2# Automation by Jaseowns3## Script: Script for [L%C]Amadeus4## Created by: DaKlue#82015#############################################6 7///CASTING//////////////////////8@setvar! castMS 19@setvar! castChainLightning 110@setvar! castFlamestrike 111////////////////////////////////12 13/////Auto Invisability//////////////////14@setvar! automaticallyCastIvis 115////////////////////////////////////////16 17/////////DO NOTHING BELOW///////////18@setvar! isDiscorded 019 20if not varexist isStealthing21    @setvar! isStealthing 022endif23 24if not timerexists useSkillTimer25    createtimer useSkillTimer26    settimer useSkillTimer 1100027endif28////////////////////////////////29 30if insysmsg 'world is saving'31    for 6032        overhead 'Waiting for world save...'33        wait 10034        if insysmsg 'save complete'35            overhead 'Save complete - continue on!' 8836            break37        endif38    endfor39endif40 41if findtype "moongate" ground -1 1 2 or findtype "blue moongate" ground -1 1 2 as jGate42    dclick jGate43    wait 50044    while not gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate45        dclick jGate46    endwhile47 48    if gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate49        gumpresponse 2 389901987150        replay51    endif52else 53    overhead "No gate nearby!" 3454    wait 500055    replay56endif57 58hotkey 'Target Closest Non-Friendly Monster' as myKillTarget59target myKillTarget60 61if skill "Discordance" >= 50 62    if isDiscorded = 063        getlabel myKillTarget discordDesc64        if "discord" in discordDesc65            @setvar! isDiscorded 166        elseif timer useSkillTimer >= 11000 67            useskill 'Discordance'68            wft 50069            if insysmsg "What instrument"70                if findtype "bamboo flute" backpack as inny71                    target inny72                elseif findtype "tambourine" backpack as inny73                elseif findtype "drum" backpack as inny74                elseif findtype "lute" backpack as inny75                elseif findtype "harp" backpack as inny76                elseif findtype "lap harp" backpack as inny77                else78                    overhead "I do not have an inny" 3479                    @setvar! isDiscorded 180                endif81                wft 50082            endif83            if targetexists 84                target myKillTarget85                overhead "Discorded" 88 myKillTarget86            settimer useSkillTimer 500087        endif88    endif89endif90 91if skill "magery" >= 10092    if castMS = 1 and mana > 5293        while not targetexists harmful and mana > 5094            cast 'Meteor Swarm'95            wft 500 96        endwhile97        98        if targetexists harmful99            target myKillTarget100            wait 500101        endif102    endif103 104    if castChainLightning = 1 and mana > 52105        while not targetexists harmful and mana > 50106            cast 'Chain Lightning'107            wft 500 108        endwhile109        110        if targetexists harmful111            target myKillTarget112            wait 500113        endif114    endif115 116    if castFlamestrike = 1 and mana > 42117        while not targetexists harmful and mana > 40118            cast 'Flamestrike'119            wft 500 120        endwhile121        122        if targetexists harmful123            target myKillTarget124            wait 500125        endif126    endif127endif128    129if automaticallyCastIvis = 1 130    if not hidden or findbuff "Invisibility"131    @setvar! isStealthing 0132    useskill 'hiding'133    wait 200134        if hidden135            overhead "Successfully hidden" 88136            settimer useSkillTimer 0137        elseif not hidden or findbuff "Invisibility"138            if skill "Magery" >= 80139                overhead "Casting Invisability" 34140                cast 'Invisibility'141                wft 500142                if targetexists143                    target self144                    @setvar! isStealthing 0145                    wait 200146                    if findbuff "Invisibility" or hidden147                        overhead "Successfully used Invisability" 34148                        settimer useSkillTimer 0149                    endif150                endif151            endif152        endif153    endif154endif