Skip to content
Outlands Hub

Razor script

Semi-auto Poison Necro Summoner Script - Boss Ready

by Burger Beagle · 631 lines
Download
MagicMeditation
Semi-auto Poison Necro Summoner Script - Boss Ready.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/0d3f9e61-c1e8-42e5-83ef-78f02cd7022b for latest2# Automation by Jaseowns3## Script: Semi-auto Poison Necro Summoner Script - Boss Ready4## Created by: Burger Beagle#92185#############################################6 7if targetexists 8    clearall 9endif10 11# If you want to recast your pets after they die, set this to 112@setvar! bossMode 013 14###############15### Edit these cooldowns to match your wizard grimoire16######17@setvar! canYouMakeAMushroom 118@setvar! cdLightning 6000019@setvar! cdMagicArrow 2000020@setvar! cdHarm 2000021@setvar! cdFireball 6000022 23###############24### Necro Cooldowns25######26@setvar! cdEvilOmen 3050027@setvar! cdVampiricEmbrace 3050028@setvar! cdCorpseSkin 3050029@setvar! cdMindRot 3050030@setvar! cdPoisonStrike 3050031@setvar! cdWither 3050032@setvar! cdVengefulSpirit 3050033 34#### Buff Cooldowns35@setvar! cdMushroom 6000036@setvar! cdMagicShield 6000037@setvar! cdReactiveArmor 6000038 39#### General Spell Cooldowns (wait to cast again)40@setvar! cdCurse 6000041@setvar! cdManaDrain 6000042 43##################################################################44# 45#   Hopefully you do not have to edit after this :)46#47##################################################################48clearsysmsg49 50// Clear certain cooldowns that don't have timers51cooldown 'Curse' 052cooldown 'Mana Drain' 053 54// Make sure we have a spell book attached55if findlayer self righthand as item56    // do nothing57elseif findtype "3834" backpack as item58    dclick item59else 60    overhead ">>>>> NO SPELLBOOK FOUND <<<<<" 3461endif62 63# Eat food if we got it64if not findbuff "food" and findtype "tray" backpack as jood65    dclick jood66    wait 20067endif68 69# Use Taste ID if possible70if skill "Taste Identification" >= 50 and not findbuff "herb"71    useskill 'tasteidentification'72    wft 50073    target backpack74endif75 76if targetexists 77    clearall 78endif79 80// Initiate Kill!81hotkey 'all kill'82wait 20083while targetexists 84    // wait85    wait 5086endwhile87 88@setvar myKillTarget lasttarget89 90@setvar! isLethalPoison 091 92@setvar! strikeTime 093 94while not dead myKillTarget and find myKillTarget -1 -1 12 as killy95    96    // Healing Check97    while poisoned98        if findtype "Orange Potion" backpack as pot 99            dclick pot100            wait 200101        else102            while not targetexists103                if not poisoned104                    hotkey '> Interrupt'105                    break106                else107                    cast 'Cure'108                    wait 50109                endif 110            endwhile111            if targetexists112                target self113                wait 500114            endif115        endif116    endwhile117    118    if not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy and mana < 30119        overhead "Eating shrooms" 66120        dclick mushy121        cooldown 'Mushroom' cdMushroom122    endif123    124    while diffhits >= 30125        if findtype "Yellow Potion" backpack as pot 126            getlabel pot potcheck127            if "next usable" in potcheck128                // do nothing129            else130                dclick pot131                wait 200132            endif133        endif134 135        if diffhits >= 30 and mana >= 12136            while not targetexists137                if diffhits >= 60138                    cast 'Heal'139                else140                    cast 'Greater Heal'                141                endif142                wait 50143                if hp = maxhp144                    hotkey '> Interrupt'145                    break146                endif147            endwhile148            if targetexists149                target self150                wait 50151            endif152        endif153        154        if not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy and mana < 30155            overhead "Eating shrooms" 66156            dclick mushy157            cooldown 'Mushroom' cdMushroom158        endif159    endwhile160    161    if not cooldown 'Magic Reflection' and not findbuff "Magic Reflection"162        cast "Magic Reflection"163        cooldown 'Magic Reflection' cdMagicShield164        wait 1000165    elseif not findbuff "Magic Reflection" and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as pot166        dclick pot167        wait 200168    endif169    170    if not cooldown 'Reactive Armor' and not findbuff "Reactive Armor"171        cast "Reactive Armor"172        cooldown 'Reactive Armor' cdReactiveArmor173        wait 200174    endif175    176    if str <= 100177        while not targetexists178            cast 'Bless'179            wait 50180            if diffhits >= 30181                hotkey '> Interrupt'182                break183            endif184        endwhile185        if targetexists186            target self187        endif188    endif189    190    getlabel myKillTarget desc191    overhead desc 66192    193    // Reset Poison Check194    if "-" in desc195        //Ignore196    elseif "Ticks" in desc197        //Ignore198    elseif isLethalPoison = 1199        @setvar! isLethalPoison 0200    endif201    202    if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc203        @setvar! strikeTime 1204    endif205    206        if strikeTime = 1 and not cooldown 'Poison Strike'207            clearsysmsg 208            overhead ">>> POISON STRIKE <<<" 34209            yell [poisonstrike210            wft 200211            target myKillTarget212            wait 100213            if insysmsg 'Unholy symbols remaining'214                cooldown 'Poison Strike' cdPoisonStrike215            endif216            wait 100217            @setvar! strikeTime 0218            wait 300219        endif220        if dead myKillTarget221            hotkey '> Interrupt'222        endif223    224    // Spam poison until lethal225    while isLethalPoison = 0            226        while poisoned227            if findtype "Orange Potion" backpack as pot 228                dclick pot229                wait 200230            else231                while not targetexists232                    if not poisoned233                        hotkey '> Interrupt'234                        break235                    else236                        cast 'Cure'237                        wait 50238                    endif 239                endwhile240                if targetexists241                    target self242                    wait 500243                endif244            endif245        endwhile246        247        if diffhits >= 30248            if findtype "Yellow Potion" backpack as pot 249                getlabel pot desc250                if "next usable" in desc251                    // do nothing252                else253                    dclick pot254                    wait 200255                endif256            endif257 258            if diffhits >= 30 and mana >= 12259                while not targetexists260                    if diffhits >= 60261                        cast 'Heal'262                    else263                        cast 'Greater Heal'                264                    endif265                    wait 50266                    if hp = maxhp267                        hotkey '> Interrupt'268                        break269                    endif270                endwhile271                if targetexists272                    target self273                    wait 50274                endif275            endif276        endif277    278        getlabel myKillTarget desc2279        // poison lethal280        if "Lethal" in desc2281            @setvar! isLethalPoison 1282            break283        elseif castPoisonAnyway = 1 and "Ticks" in desc2284            @setvar! isLethalPoison 1285            break286        elseif castPoisonAnyway = 1 and "Poison" in desc2287            @setvar! isLethalPoison 1288            break289        elseif diffhits >= 30 290            // need a heal291            break292        elseif mana >= 9293            while not targetexists and not dead myKillTarget294                cast 'poison'295                wait 50296                if dead myKillTarget297                    hotkey '> Interrupt'298                    break299                endif300            endwhile301            if targetexists302                target myKillTarget303                wait 200304            endif305            if insysmsg "Target cannot be seen." 306                 overhead "CANNOT BE SEEN MOVE TO NEXT TARGET" 34307                 @setvar! isLethalPoison 1308            endif 309        elseif not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy310            overhead "Eating shrooms" 66311            dclick mushy312            cooldown 'Mushroom' cdMushroom   313        else314            wait 200315        endif316    endwhile  317    318    if mana > 10 and not cooldown 'Curse'319        while not targetexists and not dead myKillTarget320            if diffhits < 30321                cast 'Curse'322                wait 50323            elseif diffhits >= 30 324                hotkey '> Interrupt'325                break326            endif327        endwhile328        if targetexists329            target myKillTarget330            cooldown 'Curse' cdCurse331            wait 200332        endif333    endif334    335    if mana > 10 and not cooldown 'Mana Drain'336        while not targetexists and not dead myKillTarget337            if diffhits < 30338                cast 'mana drain'339                wait 50340            elseif diffhits >= 30 341                hotkey '> Interrupt'342                break343            endif 344        endwhile345        if targetexists346            target myKillTarget347            cooldown 'Mana Drain' cdManaDrain348            wait 200349        endif350    endif351    352    if not cooldown 'Mind Rot' and skill "Necromancy" >= 75353        clearsysmsg354        yell [MindRot355        wait 100356        if not insysmsg "You do not have enough holy symbols for that"357            cooldown 'Mind Rot' cdMindRot358        endif359        wait 400360    endif361    362    if not cooldown 'Corpse Skin' and skill "Necromancy" >= 65363        clearsysmsg364        yell [CorpseSkin365        wait 100366        if not insysmsg "You do not have enough holy symbols for that"367            cooldown 'Corpse Skin' cdCorpseSkin368        endif369        wait 400370    endif371   372    if not cooldown 'Evil Omen' and skill "Necromancy" >= 60373        clearsysmsg374        yell [EvilOmen375        wait 100376        if not insysmsg "You do not have enough holy symbols for that"377            cooldown 'Evil Omen' cdEvilOmen378        endif379        wait 400380    endif381    382    if mana > 42383        while not targetexists and mana > 40384            if dead myKillTarget or diffhits >= 30385                hotkey '> Interrupt'386                break387            else388                cast 'Flamestrike'389                wait 50390            endif 391        endwhile392        if targetexists393            target myKillTarget394            wait 500395        endif396    elseif not findbuff "actively meditating" and not cooldown 'Mushroom' and findtype "mushroom" backpack as mushy397        overhead "Eating shrooms" 66398        dclick mushy399        cooldown 'Mushroom' cdMushroom400    elseif not findbuff "actively meditating" and not cooldown 'Meditation'401        useskill 'meditation'402        while mana < 50403            wait 1000404            if dead myKillTarget or diffhits >= 30405                hotkey '> Interrupt'406                break407            endif408        endwhile409    endif410    411    getlabel myKillTarget desc412    overhead desc 66413 414    if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc415        @setvar! strikeTime 1416    endif417    418    if diffhits < 30 and mana >= 12 and not cooldown 'Lightning' and strikeTime = 0419        while not targetexists420            if dead myKillTarget or diffhits >= 30421                hotkey '> Interrupt'422                break423            else424                cast 'Lightning'425                wait 50426            endif 427        endwhile428        if targetexists429            target myKillTarget430            cooldown 'Lightning' cdLightning431            wait 500432        endif433    endif434    435    getlabel myKillTarget desc436    overhead desc 66437 438    if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc439        @setvar! strikeTime 1440    endif441 442    if diffhits < 30 and mana >= 5 and not cooldown 'Magic Arrow' and strikeTime = 0443        while not targetexists444            if dead myKillTarget or diffhits >= 30445                hotkey '> Interrupt'446                break447            else448                cast 'magic arrow'449                wait 50450            endif 451        endwhile452        if targetexists453            target myKillTarget454            cooldown 'Magic Arrow' cdMagicArrow455            wait 500456        endif457    endif458    459    getlabel myKillTarget desc460    overhead desc 66461 462    if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc463        @setvar! strikeTime 1464    endif465 466    if diffhits < 30 and mana >= 9 and not cooldown 'Harm' and strikeTime = 0467        while not targetexists468            if dead myKillTarget or diffhits >= 30469                hotkey '> Interrupt'470                break471            else472                cast 'harm'473                wait 50474            endif 475        endwhile476        if targetexists477            target myKillTarget478            cooldown 'Harm' cdHarm479            wait 500480        endif481    endif482    483    getlabel myKillTarget desc484    overhead desc 66485 486    if '6 Lethal Ticks Left' in desc or '5 Lethal Ticks Left' in desc487        @setvar! strikeTime 1488    endif489 490    if diffhits < 30 and mana >= 12 and not cooldown 'Fireball' and strikeTime = 0491        while not targetexists492            if dead myKillTarget or diffhits >= 30493                hotkey '> Interrupt'494                break495            else496                cast 'fireball'497                wait 50498            endif 499        endwhile500        if targetexists501            target myKillTarget502            cooldown 'Fireball' cdFireball503            wait 500504        endif505    endif506    507    if diffhits < 30 and bossMode = 1 and followers < 4508        if ingump "12/" 622436516509            @setvar! necro_has_enough_symbols 12510        elseif ingump "11/" 622436516511            @setvar! necro_has_enough_symbols 11512        elseif ingump "10/" 622436516513            @setvar! necro_has_enough_symbols 10514        elseif ingump "9/" 622436516515            @setvar! necro_has_enough_symbols 9516        elseif ingump "8/" 622436516517            @setvar! necro_has_enough_symbols 8518        elseif ingump "7/" 622436516519            @setvar! necro_has_enough_symbols 7520        elseif ingump "6/" 622436516521            @setvar! necro_has_enough_symbols 6522        elseif ingump "5/" 622436516523            @setvar! necro_has_enough_symbols 5524        elseif ingump "4/" 622436516525            @setvar! necro_has_enough_symbols 4526        elseif ingump "3/" 622436516527            @setvar! necro_has_enough_symbols 3528        elseif ingump "2/" 622436516529            @setvar! necro_has_enough_symbols 2530        elseif ingump "1/" 622436516531            @setvar! necro_has_enough_symbols 1532        elseif ingump "0/" 622436516533            @setvar! necro_has_enough_symbols 0534        endif535        while 6 > necro_has_enough_symbols536            overhead "Waiting on Necro Symbols"537            wait 1000538            if ingump "12/" 622436516539                @setvar! necro_has_enough_symbols 12540            elseif ingump "11/" 622436516541                @setvar! necro_has_enough_symbols 11542            elseif ingump "10/" 622436516543                @setvar! necro_has_enough_symbols 10544            elseif ingump "9/" 622436516545                @setvar! necro_has_enough_symbols 9546            elseif ingump "8/" 622436516547                @setvar! necro_has_enough_symbols 8548            elseif ingump "7/" 622436516549                @setvar! necro_has_enough_symbols 7550            elseif ingump "6/" 622436516551                @setvar! necro_has_enough_symbols 6552            elseif ingump "5/" 622436516553                @setvar! necro_has_enough_symbols 5554            elseif ingump "4/" 622436516555                @setvar! necro_has_enough_symbols 4556            elseif ingump "3/" 622436516557                @setvar! necro_has_enough_symbols 3558            elseif ingump "2/" 622436516559                @setvar! necro_has_enough_symbols 2560            elseif ingump "1/" 622436516561                @setvar! necro_has_enough_symbols 1562            elseif ingump "0/" 622436516563                @setvar! necro_has_enough_symbols 0564            endif565            if diffhits >= 30 566                hotkey '> Interrupt'567                break568            endif569        endwhile570        while cooldown 'Wither'571            if diffhits >= 30 572                hotkey '> Interrupt'573                break574            endif575            clearsysmsg576            overhead "Waiting on Wither"577            wait 1000578        endwhile579 580        while cooldown 'Vengeful Spirit'581            if diffhits >= 30 582                hotkey '> Interrupt'583                break584            endif585            clearsysmsg586            overhead "Waiting on Vengeful Spirit"587            wait 1000588        endwhile589 590        say "[VengefulSpirit"591        cooldown "Vengeful Spirit" 31000592        wait 600593 594        say "[Wither"595        cooldown "Wither" 31000596        wait 600597        if followers < 4598            cast "Fire Elemental"599            wait 5000600        endif601 602        say "All Guard Me"603    endif604    605    wait 50606endwhile607 608wait 500609 610if targetexists 611    hotkey 'Cancel Current Target'612endif613 614hotkey 'all guard me'615 616if canYouMakeAMushroom = 1 and counttype "mushroom" backpack < 5617    while counttype "mushroom" backpack < 15618        cast "Create Food"619        wait 200620        if counttype "mushroom" backpack = 0621            break622        endif623    endwhile624endif625 626while mana < 50627    if not findbuff "actively meditating" and not cooldown 'Meditate'628        useskill 'meditation'629    endif630    wait 500631endwhile