Auto Execute Based On Mob's HP% ?

Langues: JP EN DE FR
users online
Forum » Windower » General » Auto execute based on Mob's HP% ?
Auto execute based on Mob's HP% ?
Offline
Posts: 123
By duos 2013-10-14 17:17:16
Link | Citer | R
 
Currently doing the dreadful TOM where I need to land Paralyze before killing. Wonder if it is possible to execute when mobs hp goes under 15% or so ?
 Leviathan.Arcon
VIP
Offline
Serveur: Leviathan
Game: FFXI
user: Zaphor
Posts: 660
By Leviathan.Arcon 2013-10-14 17:30:45
Link | Citer | R
 
No.
 Leviathan.Comeatmebro
Offline
Serveur: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2013-10-14 17:38:12
Link | Citer | R
 
Code
<spellcast>
    <config
        showgearswaps="false"
    />
    <sets>
        <group name="Default" default="yes">
            <set name="Idle">
            </set>
        </group>
    </sets>
    <variables>
        <var name="Auto">0</var>
        <var name="Percent">15</var>
        <var name="Ready">1</var>
    </variables>
    <rules>
        <if spell="Flare II">
            <if advanced='"$Auto" = "0"'>
                <var cmd="set Auto 1" />
                <command>input /ma "Flood II" &lt;t&lt;</command>
				<addtochat>Automator Enabled</addtochat>
            </if>
            <else>
				<var cmd="set Auto 0" />
				<addtochat>Automator Disabled</addtochat>
			</else>
            <cancelspell />
            <return />
        </if>
        <if spell="Flood II">
            <if advanced='"$Auto" = "1"'>
                <if advanced='"$Ready" = "1"' targetHPPLT="$Percent">
                    <command>input /ma "Paralyze" &lt;t&gt;</command>
                    <var cmd="set Ready 0" />
                    <command>wait 5; input /ma "Flood II" &lt;t&gt;</command>
                </if>
                <else>
                    <if targetHPPGT="$Percent"><var cmd="set Ready 1" /></if>
                    <command>wait 1; input /ma "Flood II" &lt;t&gt;</command>
                </else>
            </if>
            <cancelspell />
            <return />
        </if>
    </rules>
</spellcast>


save as xml, or include the variables and rules in your own

typing /ma Flare2 once turns it on, second time turns it off, etc..

it'll cast paralyze whenever your target hits below 15%, once per mob, you can change the percent variable at the top to change trigger %
[+]
Offline
Posts: 123
By duos 2013-10-14 19:43:15
Link | Citer | R
 
Thanks Comeatmebro for the help, I tried it up but couldn't resolve the issue of line 19.
 Leviathan.Comeatmebro
Offline
Serveur: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2013-10-14 19:48:24
Link | Citer | R
 
fixed it in the paste, it's just the <t> should have been &lt;t&gt;

it got interpretted as html
[+]
Log in to post.