Advertisement
TC24k

Auto_RNG

Apr 19th, 2012
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.97 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2.  
  3. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  4.     <config
  5.        RequireVersion="2.30"
  6.        debug="false"
  7.        />
  8.        
  9.         <guildwork
  10.        character="Cynic"
  11.        server="Sylph"
  12.        description="Supernifty Auto-RNG"
  13.        job="RNG"
  14.    />
  15.    
  16.     <variables>
  17.         <var name="AutoRA">0</var>
  18.         <var name="AutoWS">0</var>
  19.     </variables>
  20.     <sets />
  21.     <rules>
  22.         <if advanced='("%EquipAmmo"=="empty")'>
  23.             <equip when="precast">
  24.                 <ammo>Bone Arrow</ammo>
  25.             </equip>
  26.             <addtochat color="121">No Arrows! Equipping some more..</addtochat>
  27.         </if>
  28.        
  29.         <if mode="and" spell="Ranged" advanced='("$AutoRA"=="1")'>
  30.             <if mode="and" TPGT="99" advanced='("$AutoWS"=="1")'>
  31.                 <changespell spell="Piercing Arrow" />
  32.                 <command when="aftercast">wait 6; input /ra &lt;t&gt;</command>
  33.             </if>
  34.             <else>
  35.                 <command when="aftercast">wait 6; input /ra &lt;t&gt;</command>
  36.             </else>
  37.         </if>
  38.     </rules>
  39. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement