Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" ?>
- <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
- <config
- RequireVersion="2.30"
- debug="false"
- />
- <variables>
- <var name="LoopSpell">Bio IV</var> //Trigger spell
- <var name="EnemyHPCheckSpell">Dancing Chains</var> //Spell to force HP check on enemy
- <var name="Run">1</var> //Running
- <var name="First">1</var> //Leave it Forever Alone.jpg!
- <var name="WS">Tachi: Jinpu</var> //WS of choice
- <var name="Samba">Drain Samba II</var> //Samba of choice for /DNC
- <var name="HPThreshold">70</var> //HP to cure from?
- <var name="Waltz">Curing Waltz II</var> //Waltz
- <var name="RestDelay">150</var> //Number of seconds to rest for HP
- <var name="Distance">5</var> //Distance to allow WS's from
- <var name="SafeMobs">Lesser Colibri</var> //Safe mobs to kill
- <var name="ThirdEyeTimer">0</var> //Track whether TE is up or not
- </variables>
- <sets>
- <group name="Main" default="yes">
- <set name="TPGear">
- <head>Walahra Turban</head>
- <neck>Rancor Collar</neck>
- <lear>Brutal Earring</lear>
- <rear>Merman's Earring</rear>
- <body>Perle Hauberk</body>
- <hands>Dusk Gloves +1</hands>
- <lring>Rajas Ring</lring>
- <rring>Flame Ring</rring>
- <back>Cerberus Mantle</back>
- <waist>Goading Belt</waist>
- <legs>Byakko's Haidate</legs>
- <feet>Perle Solerets</feet>
- </set>
- <set name="WS_STR">
- <head>Varangian Helm</head>
- <neck>Rancor Collar</neck>
- <lear>Brutal Earring</lear>
- <rear>Merman's Earring</rear>
- <body>Perle Hauberk</body>
- <hands>Heafoc Mitts</hands>
- <lring>Rajas Ring</lring>
- <rring>Flame Ring</rring>
- <back>Cerberus Mantle</back>
- <waist>Warwolf Belt</waist>
- <legs>Tumbler Trunks</legs>
- <feet>Perle Solerets</feet>
- </set>
- </group>
- </sets>
- <rules>
- <if advanced='("$Run"=="0")'>
- <return />
- <cancelspell />
- <command>setkey numpad8 up;setkey numpad2 down;setkey numpad2 up</command>
- </if>
- <equip set="TPGear" when="engaged" />
- <if spell="$LoopSpell" advanced='("$Run"=="1")'>
- <if advanced='("$First"=="1")'>
- <addtochat color="121">======= SPELLCAST STARTED =======</addtochat>
- <command>mouse_blockinput 1;bind ^escape sc var set Run 0</command>
- <addtochat color="121">======= MOUSE INPUT BLOCKED. PUSH CTRL+ESCAPE TO STOP =======</addtochat>
- <var cmd="set First 0" />
- </if>
- <if status="engaged">
- <if advanced='%SpellTargetDistance>3'>
- <command>input /follow; setkey numpad8 up</command>
- </if>
- <if targethpplt="100">
- <if advanced='%SpellTargetDistance<3'>
- <command>setkey numpad8 up;setkey numpad2 down;setkey numpad2 up</command>
- </if>
- </if>
- <if tpgt="99">
- <if hppgt="$HPThreshold">
- <if buffactive="*Samba*">
- <changespell spell="$WS" />
- </if>
- <elseif mode="and" subjob="DNC" notbuffactive="*Samba*">
- <changespell spell="$Samba" />
- </elseif>
- </if>
- <elseif hpplt="$HPThreshold">
- <cancelspell />
- <command>input /ja "$Waltz" <me></command>
- </elseif>
- </if>
- <elseif tplt="100">
- <if hppgt="$HPThreshold">
- <if buffactive="*Samba*">
- <cancelspell />
- </if>
- <elseif mode="and" subjob="DNC" notbuffactive="*Samba*">
- <changespell spell="$Samba" />
- </elseif>
- </if>
- <elseif hpplt="$HPThreshold">
- <changespell spell="$Waltz" />
- </elseif>
- </elseif>
- <if mode="or" mainjob="SAM" subjob="SAM">
- <if mode="and" notbuffactive="Third Eye" advanced='("$ThirdEyeTimer"=="0")'>
- <changespell spell="Third Eye" />
- </if>
- <if mode="and" Spell="Third Eye" notbuffactive="Seigan">
- <cancelspell />
- <command>input /ja "Seigan" <me>;wait 2.5;input /ja "Third Eye" <me>;</command>
- </if>
- <if spell="Third Eye">
- <var cmd="set ThirdEyeTimer 1" />
- <aftercastdelay delay="30" />
- <var cmd="set ThirdEyeTimer 0" when="aftercast" />
- </if>
- </if>
- </if>
- <elseif status="Idle">
- <if hppgt="$HPThreshold">
- <command>setkey Right down;wait 0.5;setkey Right up;setkey Numpad8 down;setkey Numpad 8 up;setkey tab down;setkey tab up;$EnemyHPCheckSpell <t></command>
- <cancelspell />
- <if mode="and" targettype="NPC" advanced='("%Target"=="$SafeMobs")'>
- <if targethppgt="99">
- <cancelspell />
- <command>input /attack on;input /follow</command>
- </if>
- <elseif targethpplt="100">
- <cancelspell />
- <command>setkey Right down;wait 0.5;setkey Right up;setkey Numpad8 down;setkey Numpad 8 up;setkey tab down;setkey tab up;$EnemyHPCheckSpell <t></command>
- </elseif>
- </if>
- <elseif nottargettype="NPC">
- <command>setkey Right down;wait 0.5;setkey Right up;setkey Numpad8 down;setkey Numpad 8 up;setkey tab down;setkey tab up;$EnemyHPCheckSpell <t></command>
- </elseif>
- </if>
- <elseif hpplt="$HPThreshold">
- <command>input /heal on; wait $RestDelay;input /heal off</command>
- <command>setkey Right down;wait 0.5;setkey Right up;setkey Numpad8 down;setkey Numpad 8 up;setkey tab down;setkey tab up;$EnemyHPCheckSpell <t></command>
- </elseif>
- </elseif>
- <if type="Weaponskill">
- <if mode="OR" TPLT="100" advanced='%SpellTargetDistance>$Distance' notstatus="engaged">
- <addtochat color="121">Too far away from target, not enough TP or not engaged. Cancelling WS</addtochat>
- <cancelspell/>
- <return />
- </if>
- </if>
- <command>wait 1;$LoopSpell</command>
- </if>
- </rules>
- </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement