Skip to content
Outlands Hub

Razor script

Smart Summoning

by eshromanch · 326 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 FOR UO OUTLANDS This script automatically summons and maintains a team of creatures for farming It supports Earth Elementals, Water Elementals, and basic Summon Creature The script will resummon dead pets, heal them…

TamingHealingMagicMeditationSpirit Speak
Smart Summoning.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/3acf5988-79ee-4e2d-8211-7144595dedb7 for latest2# Automation by Jaseowns3## Script: Smart Summoning4## Created by: eshromanch#05#############################################6 7 8// ==========================================9// SMART SUMMONING SCRIPT FOR UO OUTLANDS10// ==========================================11// This script automatically summons and maintains a team of creatures for farming12// It supports Earth Elementals, Water Elementals, and basic Summon Creature13// The script will resummon dead pets, heal them with Spirit Speak, and loot corpses14 15// ==========================================16// CONFIGURATION - CHANGE THESE VALUES17// ==========================================18// Set these to 1 if you HAVE the spell, 0 if you DON'T have it19//@ setvar earthElement 0      // Do you have Earth Elemental spell? (0 = no, 1 = yes)20//@setvar waterElement 1      // Do you have Water Elemental spell? (0 = no, 1 = yes)21 22// Choose your summoning strategy:23    //@setvar useHybrid 1         // 1 = Use 1 elemental + 3 creatures (RECOMMENDED for most situations)24    //@setvar useFullElemental 0  // 1 = Use 2 elementals + 1 creature (Best for hard content, uses more mana)25 26// Note: If both earthElement and waterElement are 0, script will only use Summon Creature (5 total)27 28// ==========================================29// SUMMONING CONFIGURATION FLAGS30// ==========================================31@setvar earthElement 032@setvar waterElement 133@setvar useHybrid 134@setvar useFullElemental 035 36// ==========================================37// INITIAL SUMMONING PHASE38// ==========================================39overhead "Starting summoning sequence..." 8840 41// Summon first elemental (if available)42if earthElement = 1 or waterElement = 143    if followers < 244        overhead "Summoning elemental tank..." 8845        46        // Try 3 times47        if followers < 248            if earthElement = 149                cast 'Earth Elemental'50                waitfortarget 500051                target 'self'52                wait 250053            endif54            55            if waterElement = 156                cast 'Water Elemental'57                waitfortarget 500058                target 'self'59                wait 250060            endif61        endif62        63        if followers < 264            overhead "Retry 1..." 8865            if earthElement = 166                cast 'Earth Elemental'67                waitfortarget 500068                target 'self'69                wait 250070            endif71            72            if waterElement = 173                cast 'Water Elemental'74                waitfortarget 500075                target 'self'76                wait 250077            endif78        endif79        80        if followers < 281            overhead "Retry 2..." 8882            if earthElement = 183                cast 'Earth Elemental'84                waitfortarget 500085                target 'self'86                wait 250087            endif88            89            if waterElement = 190                cast 'Water Elemental'91                waitfortarget 500092                target 'self'93                wait 250094            endif95        endif96        97        if followers >= 298            overhead "Elemental summoned!" 6699            say 'all follow me'100            wait 500101        else102            overhead "Failed to summon elemental" 33103        endif104    endif105endif106 107// Summon second elemental if using full elemental strategy108if useFullElemental = 1109    if earthElement = 1 or waterElement = 1110        if followers < 4111            overhead "Summoning second elemental..." 88112            113            // Try 3 times114            if followers < 4115                if earthElement = 1116                    cast 'Earth Elemental'117                    waitfortarget 5000118                    target 'self'119                    wait 2500120                endif121                122                if waterElement = 1123                    cast 'Water Elemental'124                    waitfortarget 5000125                    target 'self'126                    wait 2500127                endif128            endif129            130            if followers < 4131                overhead "Retry 1..." 88132                if earthElement = 1133                    cast 'Earth Elemental'134                    waitfortarget 5000135                    target 'self'136                    wait 2500137                endif138                139                if waterElement = 1140                    cast 'Water Elemental'141                    waitfortarget 5000142                    target 'self'143                    wait 2500144                endif145            endif146            147            if followers >= 4148                overhead "Second elemental summoned!" 66149                say 'all follow me'150                wait 500151            endif152        endif153    endif154endif155 156// Fill remaining slots with Summon Creature157while followers < 5158    overhead "Summoning creature... ({{followers}}/5)" 88159    160    cast 'Summ. Creature'161    waitfortarget 5000162    target 'self'163    wait 2500164    165    say 'all follow me'166    wait 500167endwhile168 169overhead "Full team assembled!" 66170wait 1000171 172// ==========================================173// MAIN FARMING LOOP174// ==========================================175while not dead176    // SUMMON MAINTENANCE - Hybrid Strategy177    if useHybrid = 1178        if earthElement = 1 or waterElement = 1179            if followers < 2180                overhead "ELEMENTAL DOWN! Resummoning..." 33181                182                // Try twice183                if earthElement = 1184                    cast 'Earth Elemental'185                    waitfortarget 5000186                    target 'self'187                    wait 2500188                endif189                190                if waterElement = 1191                    cast 'Water Elemental'192                    waitfortarget 5000193                    target 'self'194                    wait 2500195                endif196                197                if followers < 2198                    overhead "Retry..." 33199                    if earthElement = 1200                        cast 'Earth Elemental'201                        waitfortarget 5000202                        target 'self'203                        wait 2500204                    endif205                    206                    if waterElement = 1207                        cast 'Water Elemental'208                        waitfortarget 5000209                        target 'self'210                        wait 2500211                    endif212                endif213                214                if followers >= 2215                    overhead "Elemental restored!" 66216                    say 'all follow me'217                    wait 500218                endif219            endif220        endif221    endif222    223    // SUMMON MAINTENANCE - Full Elemental Strategy224    if useFullElemental = 1225        if earthElement = 1 or waterElement = 1226            // First elemental227            if followers < 2228                overhead "ELEMENTAL 1 DOWN!" 33229                230                if earthElement = 1231                    cast 'Earth Elemental'232                    waitfortarget 5000233                    target 'self'234                    wait 2500235                endif236                237                if waterElement = 1238                    cast 'Water Elemental'239                    waitfortarget 5000240                    target 'self'241                    wait 2500242                endif243                244                if followers >= 2245                    say 'all follow me'246                    wait 500247                endif248            endif249            250            // Second elemental251            if followers < 4252                overhead "ELEMENTAL 2 DOWN!" 33253                254                if earthElement = 1255                    cast 'Earth Elemental'256                    waitfortarget 5000257                    target 'self'258                    wait 2500259                endif260                261                if waterElement = 1262                    cast 'Water Elemental'263                    waitfortarget 5000264                    target 'self'265                    wait 2500266                endif267                268                if followers >= 4269                    say 'all follow me'270                    wait 500271                endif272            endif273        endif274    endif275    276    // Fill remaining slots with creatures277    if followers < 5278        cast 'Summ. Creature'279        waitfortarget 5000280        target 'self'281        wait 2500282        say 'all follow me'283        wait 500284    endif285    286    // COMBAT PHASE287    hotkey 'Target Closest Grey Monster'288    wait 500289    290    if insysmsg 'No one matching'291        overhead "No monsters nearby" 88292        wait 2000293    else294        say 'all kill'295        wait 500296        297        // Combat loop with Spirit Speak healing298        while targetexists 'enemy'299            if mana > 20300                useskill 'Spirit Speak'301                wait 11000302            else303                wait 1000304            endif305        endwhile306        307        // Spirit Speak on corpse308        useskill 'Spirit Speak'309        waitfortarget 2000310        hotkey 'Target Closest Grey Monster'311        wait 2000312        313        // Loot314        hotkey 'Organizer Agent-1'315        wait 1000316    endif317    318    // MANA MANAGEMENT319    if mana < 30320        overhead "Meditating..." 88321        useskill 'Meditation'322        while mana < 75323            wait 1000324        endwhile325    endif326endwhile