<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MudletPackage>
<MudletPackage version="1.0">
    <TriggerPackage>
        <TriggerGroup isActive="yes" isFolder="yes" isTempTrigger="no" isMultiline="yes" isPerlSlashGOption="no" isColorizerTrigger="no" isFilterTrigger="no" isSoundTrigger="no" isColorTrigger="no" isColorTriggerFg="no" isColorTriggerBg="no">
            <name>Show angel power %</name>
            <script>-- move the cursor to before the dot
moveCursor(&quot;main&quot;, #line-1, getLineNumber(&quot;main&quot;))

-- get the default color for our echo to use
selectString(&quot;maximum&quot;, 1)

setBgColor(getBgColor())
setFgColor(getFgColor())
insertText(string.format(&quot; (%d%%)&quot;, (100/tonumber(multimatches[2][3]))*tonumber(multimatches[2][2])))</script>
            <triggerType>0</triggerType>
            <conditonLineDelta>0</conditonLineDelta>
            <mStayOpen>0</mStayOpen>
            <mCommand></mCommand>
            <packageName></packageName>
            <mFgColor>#ff0000</mFgColor>
            <mBgColor>#ffff00</mBgColor>
            <mSoundFile></mSoundFile>
            <colorTriggerFgColor>#000000</colorTriggerFgColor>
            <colorTriggerBgColor>#000000</colorTriggerBgColor>
            <regexCodeList>
                <string>Your guardian burns with a power of</string>
                <string>^Your guardian burns with a power of (\d+) of a maximum (\d+)\.$</string>
            </regexCodeList>
            <regexCodePropertyList>
                <integer>2</integer>
                <integer>1</integer>
            </regexCodePropertyList>
        </TriggerGroup>
    </TriggerPackage>
</MudletPackage>
