Skip to content
Outlands Hub

Razor script

Chivalry heal check snippet

by initsu · 78 lines
Download
HealingChivalry
Chivalry heal check snippet.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/14b3f042-d940-4cc8-9a25-9114f782d141 for latest2# Automation by Jaseowns3## Script: Chivalry heal check snippet4## Created by: initsu#35805#############################################6 7if skill 'Chivalry' > 08    if not gumpexists 13879303259        yell '[ChivalryHotbar'10        waitforgump 138793032511    endif12    if ingump '10/' 138793032513        @setvar holy_symbols 1014    elseif ingump '11/' 138793032515        @setvar holy_symbols 1116    elseif ingump '12/' 138793032517        @setvar holy_symbols 1218    elseif ingump '1/' 138793032519        @setvar holy_symbols 120    elseif ingump '2/' 138793032521        @setvar holy_symbols 222    elseif ingump '3/' 138793032523        @setvar holy_symbols 324    elseif ingump '4/' 138793032525        @setvar holy_symbols 426    elseif ingump '5/' 138793032527        @setvar holy_symbols 528    elseif ingump '6/' 138793032529        @setvar holy_symbols 630    elseif ingump '7/' 138793032531        @setvar holy_symbols 732    elseif ingump '8/' 138793032533        @setvar holy_symbols 834    elseif ingump '9/' 138793032535        @setvar holy_symbols 936    else37        @setvar holy_symbols 038    endif39else40    @setvar holy_symbols 041endif42 43if hp < 6544    if skill 'Chivalry' >= 95 and 5 <= holy_symbols and not cooldown 'Holy Light'45        // yell '[HolyLight'46        gumpresponse 19 138793032547        cooldown 'Holy Light' 3000048        wait 60049        if insysmsg "You must wait another 1 second before you may use that ability again."50            cooldown 'Holy Light' 100051        endif52    elseif skill 'Chivalry' >= 80 and 4 <= holy_symbols and not cooldown 'Noble Sacrifice'53        target cancel54        target clear55        while not targetexists56            // yell '[NobleSacrifice'57            gumpresponse 16 138793032558            waitfortarget 100059        endwhile60        while targetexists61            hotkey 'Target Self'62            for 1063                if not targetexists64                    break65                endif66                wait 10067            endfor68        endwhile69        cooldown 'Noble Sacrifice' 3000070        if cooldown 'Heal potion' < 500071            cooldown 'Heal potion' 500072        endif73        if cooldown 'Holy Light' < 500074            cooldown 'Holy Light' 500075        endif76    endif77endif78