Skip to content
Outlands Hub

Razor script

Bapeths Ocean Lucky Powderkeg

by barryroser · 193 lines
Download

Bapeths Special Luck Keg "****REQUIRED****" Bapeths Ship Cooldowns xml file (copy paste into your characters Cooldown file) "COPY" Link to get Bapeths Cooldowns…

Sailing
Bapeths Ocean Lucky Powderkeg.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a3ed4a2b-ae9e-492c-aee1-8f9272a07e86 for latest2# Automation by Jaseowns3## Script: Bapeths Ocean Lucky Powderkeg4## Created by: barryroser#05#############################################6 7# Bapeths Special Luck Keg8# "****REQUIRED****"9# Bapeths Ship Cooldowns xml file (copy paste into your characters Cooldown file)10# "COPY" Link to get Bapeths Cooldowns "https://outlands.uorazorscripts.com/script/f1e41e2d-411e-461e-9fd0-c4fc2dc234b1"11# "PASTE" FILE PATH : C:\Program Files (x86)\Ultima Online Outlands\ClassicUO\Data\Profiles\"YOUR-ACCOUNT-NAME"\UO Outlands\"YOUR-CHARACTER" Open file in notepad12# The cooldowns with "Tigger Text" Must be adjusted to "your ships stats" and "your Wizard Grimoire upgrades" in the UO in game Options13#14# Script will loop into 'Master Background' if you have it in your script library15#16# This script will use Luck and Special Powderkeg and/or automatically fire at the closest enemy ship17# Use "Bapeths Manual Override" script to force a priority target18#19# Set "Range check Last Target" to "22" in Razor > Options tab > Targeting & Queues subtab20# This will ensure your cannons can reach their target at max distance21#22# Luck must be placed in the Second Lesser Ability Slot on your ship (bottom row)23# Special Powderkeg must be placed in the Regular Ability Slot (top row)24#25# Script starts here26clearsysmsg     27hotkey '> Interrupt'28hotkey "Cancel Current Target"29clearsysmsg 30say "[SecondLesserAbility"31getlabel backpack ping32if insysmsg "you must wait"33    overhead "Lesser Cooling..." 3834elseif insysmsg "not currently reloading"35    overhead "It would be no use..." 3836else 37    overhead '*Passive Lesser Ability*' 6738endif39 40clearsysmsg 41say '[RegularAbility'42getlabel backpack ping43if insysmsg "you must wait"44    overhead "Regular Cooling..." 3845elseif insysmsg "currently be repaired" 46    overhead "It would be no use..." 3847else48    overhead '*Passive Regular Ability*' 8749endif50 51say '[FireCannons'52getlabel backpack ping53if insysmsg "fire its cannons again"54    overhead "Cannons Cooling..." 3855    script 'Master Background'56endif57if insysmsg "fire the cannons?"58    overhead "Fire the Cannons!" 8859    wft 50060    target "Manual Override"61    getlabel backpack ping62    if insysmsg "Our cannons cannot reach that location."63        overhead "Out of Range!" 3864        script 'Master Background'65    elseif insysmsg "That is too far away."66        overhead "Out of Range!" 3867        script 'Master Background'68    elseif insysmsg "Those cannons are out of ammunition"69        overhead "Out of Ammo!" 3870        script 'Master Background'71    elseif insysmsg "You may not fire onto your own ship!"72        overhead "Target is too close to fire on!" 3873        script 'Master Background'74    elseif not targetexists 75        cooldown "Cannons" 1350076        overhead "Fire!" 8877        if not cooldown "Disco" and skill "Discordance" >= 5078            skill 'Discordance'79            wft 50080            hotkey 'Target self'81            hotkey "Cancel Current Target"82            getlabel backpack ping83            if insysmsg "creatures"84                overhead "Hear my sea song!" 9185                cooldown "Disco" 500086            endif87        endif88        script 'Master Background'89    endif90    hotkey "Target Closest Enemy Monster"91    getlabel backpack ping92    if insysmsg "Our cannons cannot reach that location."93        overhead "Out of Range!" 3894        script 'Master Background'95    elseif insysmsg "That is too far away."96        overhead "Out of Range!" 3897        script 'Master Background'98    elseif insysmsg "Those cannons are out of ammunition"99        overhead "Out of Ammo!" 38100        script 'Master Background'101    elseif insysmsg "You may not fire onto your own ship!"102        overhead "Target is too close to fire on!" 38103        script 'Master Background'104    elseif not targetexists 105        cooldown "Cannons" 13500106        overhead "Fire!" 88107        if not cooldown "Disco" and skill "Discordance" >= 50108            skill 'Discordance'109            wft 500110            hotkey 'Target self'111            hotkey "Cancel Current Target"112            getlabel backpack ping113            if insysmsg "creatures"114                overhead "Hear my sea song!" 91115                cooldown "Disco" 5000116            endif117        endif118        script 'Master Background'119    endif120    hotkey "Target Closest Grey Monster"121    getlabel backpack ping122    if insysmsg "Our cannons cannot reach that location."123        overhead "Out of Range!" 38124        script 'Master Background'125    elseif insysmsg "That is too far away."126        overhead "Out of Range!" 38127        script 'Master Background'128    elseif insysmsg "Those cannons are out of ammunition"129        overhead "Out of Ammo!" 38130        script 'Master Background'131    elseif insysmsg "You may not fire onto your own ship!"132        overhead "Target is too close to fire on!" 38133        script 'Master Background'134    elseif not targetexists 135        cooldown "Cannons" 13500136        overhead "Fire!" 88137        if not cooldown "Disco" and skill "Discordance" >= 50138            skill 'Discordance'139            wft 500140            hotkey 'Target self'141            hotkey "Cancel Current Target"142            getlabel backpack ping143            if insysmsg "creatures"144                overhead "Hear my sea song!" 91145                cooldown "Disco" 5000146            endif147        endif148        script 'Master Background'149    endif150    if insysmsg "No one matching"151        overhead "Yar! Manual Target..." 88152    elseif insysmsg "out of range"153        overhead "Yar! Manual Target..." 88154    endif155    while targetexists 156        //do nothing157    endwhile158    getlabel backpack ping159    if insysmsg "Our cannons cannot reach that location."160        overhead "Out of Range!" 38161        script 'Master Background'162    elseif insysmsg "That is too far away."163        overhead "Out of Range!" 38164        script 'Master Background'165    elseif insysmsg "Those cannons are out of ammunition"166        overhead "Out of Ammo!" 38167        script 'Master Background'168    elseif insysmsg "You may not fire onto your own ship!"169        overhead "Target is too close to fire on!" 38170        script 'Master Background'171    elseif not targetexists 172        cooldown "Cannons" 13500173        overhead "Fire!" 88174        if not cooldown "Disco" and skill "Discordance" >= 50175            skill 'Discordance'176            wft 500177            hotkey 'Target self'178            hotkey "Cancel Current Target"179            getlabel backpack ping180            if insysmsg "creatures"181                overhead "Hear my sea song!" 91182                cooldown "Disco" 5000183            endif184        endif185        script 'Master Background'186    endif187else 188overhead "Cannons cooling..." 38189endif190if insysmsg "cannons finish reloading"191overhead "Cannons reloading..." 38192endif193script 'Master Background'