Sycorax

ForMasamune_BST.xml

Oct 18th, 2011
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.67 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <spellcast>
  3.     <config
  4. Debug="false"
  5. RequireVersion="2.20"
  6. HideErrors="false"
  7. ShowSpellInfo="false"
  8. ShowGearSwaps="false"
  9. />
  10.  
  11. <variables Clear="True">
  12.     <!-- PetBool=0 if Pet is Idle, PetBool=1 if Pet is Engaged: Boolean as it can (hopefully) be read from FFXI -->
  13.     <var Name="PetBool">0</var>
  14.     <var Name="JustFight">0</var>
  15.     <!-- PetTrigger=your choice of unused trigger spell -->
  16.     <var Name="PetTrigger">Blizzaga V</var>
  17.     <var Name="PetStatus">PetIdle</var>
  18. </variables>
  19.  
  20. <sets>
  21.     <group Name="Beastmaster" default="yes">
  22.         <set Name="IdlePetIdle">
  23.             <main>Guichard's Axe +3</main>
  24.             <head>Twilight Helm</head>
  25.             <neck>Twilight Torque</neck>
  26.             <lear>Ethereal Earring</lear>
  27.             <rear>Moonshade Earring</rear>
  28.             <body>Ferine Gausape +2</body>
  29.             <hands>Frn. Manoplas +2</hands>
  30.             <lring>Paguroidea Ring</lring>
  31.             <rring>Dark Ring</rring>
  32.             <back>Metallon Mantle</back>
  33.             <waist>Nierenschutz</waist>
  34.             <legs>Ferine Quijotes +2</legs>
  35.             <feet>Skadi's Jambeaux</feet>
  36.         </set>
  37.        
  38.         <set Name="IdlePetEngaged" BaseSet="IdlePetIdle">
  39.             <head>Anwig Salade</head>
  40.             <neck>Ferine Necklace</neck>
  41.             <hands>Beast Bazubands</hands>
  42.             <lring>Paguroidea Ring</lring>
  43.             <back>Ferine Mantle</back>
  44.             <waist>Primal Belt</waist>
  45.             <legs>Ferine Quijotes +2</legs>
  46.             <feet>Ferine Ocreae +2</feet>
  47.         </set>
  48.  
  49.         <set Name="Engaged" BaseSet="IdlePetIdle">
  50.             <head>Ferine Cabasset +2</head>
  51.             <neck>Ferine Necklace</neck>
  52.             <lring>Rajas Ring</lring>
  53.             <rring>Epona's Ring</rring>
  54.             <waist>Twilight Belt</waist>
  55.             <back>Belenos' Mantle</back>
  56.             <feet>Ferine Ocreae +2</feet>
  57.         </set>
  58.     </group>
  59. </sets>
  60.  
  61. <rules>
  62.  
  63.     <if advanced='"$PetStatus" = "PetIdle"'>
  64.         <var cmd="set PetBool 0" />
  65.     </if>
  66.    
  67.     <if spell="$PetTrigger">
  68.         <!-- This reads from the game whether or not your pet's fighting something -->
  69.         <!--<command>input /echo Trigger Spell $PetTrigger!</command>-->
  70.         <if advanced='"$JustFight"==1'>
  71.             <var cmd="set PetBool 1" />
  72.         </if>
  73.         <elseif advanced='"$PetStatus"=="PetEngaged" or "$PetBool"==1'>
  74.             <var cmd="set PetBool %IsInCombat" />
  75.             <!--<command>input /echo PetBool $PetBool</command>-->
  76.         </elseif>
  77.         <if advanced='"$PetBool"==0'>
  78.                 <var cmd="set PetStatus PetIdle" />
  79.         </if>
  80.         <else>
  81.             <var cmd="set PetStatus PetEngaged" />
  82.         </else>
  83.         <action type="cancelspell" />
  84.         <command>wait 1; $PetTrigger &lt;pet&gt;</command>
  85.         <if Status="Idle">
  86.             <equip Set="Idle$PetStatus"/>
  87.         </if>
  88.     </if>
  89.     <elseif Spell="Fight">
  90.         <!-- Gives a 10 second grace period (in PetEngaged Idle gear) for pet to engage after using Fight. Resets to PetIdle if not engaged within 10 seconds. -->
  91.         <!-- This also means if it one-shots a mob you're gonna wear PetEngaged gear for the next few seconds until the 10 second timer runs out. -->
  92.         <var cmd="set JustFight 1" />
  93.         <var cmd="set PetStatus PetEngaged"/>
  94.         <!--<command>wait 2.5; $PetTrigger &lt;pet&gt;</command>-->
  95.         <command>input /echo Pet:   TP = %PetTPReal%  -  HP = %PetHPP%</command>
  96.         <command>wait 1; $PetTrigger &lt;pet&gt;; wait 9; sc var set JustFight 0</command>
  97.     </elseif>
  98.     <else>
  99.         <command>input /echo Pet:   TP = %PetTPReal%  -  HP = %PetHPP%</command>
  100.         <!-- This fires off your trigger if any other action was taken -->
  101.         <command>wait 1; $PetTrigger &lt;pet&gt;</command>
  102.     </else>
  103.  
  104.     <if Status="engaged">
  105.         <equip When="precast|engaged|aftercast" Set="Engaged"/>
  106.         <if SubJob="NIN|DNC"> <!-- if dual wielding -->
  107.             <equip When="engaged|aftercast"> <lear>Suppanomimi</lear> </equip>
  108.             <if NotEquipSub="Guichard's Axe +2">
  109.                 <command When="any">wait 1;input /equip Sub "Guichard's Axe +3"</command>
  110.             </if>
  111.         </if>
  112.         <else>
  113.             <equip When="engaged|aftercast"> <lear>Brutal Earring</lear> </equip>
  114.             <if NotEquipSub="Bloom Buckler">
  115.                 <command When="any">wait 1;input /equip Sub "Bloom Buckler"</command>
  116.             </if>
  117.         </else>
  118.     </if>
  119.     <elseif Status="Idle">
  120.         <equip When="Idle|aftercast" Set="Idle$PetStatus"/>
  121.     </elseif>
  122.     <elseif Status="Resting">
  123.         <equip When="Resting" Set="Resting"/>
  124.     </elseif>
  125.  
  126.     <if SubJob="NIN" Spell="Utsusemi*" NotBuffActive="Obliviscence">
  127.         <equip When="precast" Set="Utsusemi"/>
  128.         <if Spell="*ichi">
  129.             <if NotBuffActive="Copy Image(3)|Copy Image(4+)">
  130.                 <midcastdelay delay="3"/>
  131.                 <command When="midcast">cancel 66</command>
  132.                 <command When="midcast">cancel 444</command>
  133.             </if>
  134.             <else> <cancelSpell/> <return/> </else>
  135.         </if>
  136.     </if>
  137.     <elseif Type="WeaponSkill">
  138.         <command When="precast">input /echo KParser: -------------- WS readied @ TP = &lt;tp&gt; --------------</command>
  139.         <if Spell="Calamity|Spiral*">
  140.             <equip When="precast" Set="WSstr"/>
  141.         </if>
  142.         <elseif Spell="Primal Rend">
  143.             <equip When="precast" Set="WSchr"/>
  144.         </elseif>
  145.         <else>
  146.             <equip When="precast" Set="WScrit"/>
  147.         </else>
  148.         <aftercastdelay delay="1"/>
  149.         <command When="aftercast">input /echo KParser: -------------- TP return = &lt;tp&gt; --------------</command>
  150.     </elseif>
  151.     <elseif Spell="Sic|$ReadyTPmoves" Advanced="%PetTP &gt; 100">
  152.         <castdelay delay=".2"/>
  153.         <equip When="precast" Set="SicReady"/>
  154.         <aftercastdelay delay="1.5"/>
  155.     </elseif>
  156.     <elseif Spell="Call Beast">
  157.         <castdelay delay=".2"/>
  158.         <equip When="precast" Set="CallBeast"/>
  159.     </elseif>
  160.     <elseif Spell="Charm|Tame|Spur|Reward">
  161.         <castdelay delay=".2"/>
  162.         <equip When="precast" Set="%Spell"/>
  163.         <if Spell="Charm">
  164.             <equip When="precast"> <main>Apollo's Staff</main> </equip>
  165.         </if>
  166.             <elseif Spell="Spur" advanced='"$Spur"=="up"' PetIsValid="True">
  167.             <var cmd="set Spur down"/>
  168.             <command>wait 180; sc var set Spur up; input /ja Spur &lt;me&gt;</command>
  169.         </elseif>
  170.     </elseif>
  171. </rules>
  172.  
  173. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment