Advertisement
Guest User

Untitled

a guest
Apr 5th, 2013
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.10 KB | None | 0 0
  1. <rules>
  2. <!--- Core Include Rules --->
  3. <xi:include href="Include.xml" xpointer="//include[@name='ReturnRules']/*" />
  4. <xi:include href="Include.xml" xpointer="//include[@name='AreaRule']/*" />
  5. <xi:include href="Include.xml" xpointer="//include[@name='SpellCancel']/*" />
  6.  
  7. <!--- Automatically change variables when buffs wear off --->
  8. <if SubJob="SAM" advanced='"$Sub"!="SAM"'>
  9. <var cmd="set Sub SAM" />
  10. </if>
  11. <elseif SubJob="WHM|BLM|SCH|BLU|RDM" advanced='"$Sub"!="MAGE"'>
  12. <var cmd="set Sub MAGE" />
  13. </elseif>
  14. <elseif notSubJob="SAM|WHM|BLM|SCH|BLU|RDM" advanced='"$Sub"!="N"'>
  15. <var cmd="set Sub N" />
  16. </elseif>
  17. <!--- Automatically Equip Gear Rules --->
  18. <command when="engaged|idle|aftercast|resting">Dancing Chains</command>
  19. <!--- Automatically change group --->
  20. <if notgroup="$Area-$Resist-$Sub">
  21. <command>sc group $Area-$Resist-$Sub</command>
  22. </if>
  23. <!--- Trigger Spells --->
  24. <if spell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
  25. <if spell="$TriggerSetOne">
  26. <!--- Auto Update Gear --->
  27. <if spell="Dancing Chains">
  28. <cancelspell />
  29. <if status="idle">
  30. <equip set="%Status|$Armor-%Status" />
  31. </if>
  32. <elseif status="engaged">
  33. <if advanced='"$VAR-TP"="PDT"'>
  34. <equip set="TP-$VAR-TP|$Armor-%Status" />
  35. </if>
  36. <else>
  37. <equip set="TP-$VAR-TP|$Armor-%Status" />
  38. </else>
  39. </elseif>
  40. <elseif status="engaged">
  41. <equip set="%Status|$TwilightSet" />
  42. </elseif>
  43. </if>
  44. </if>
  45.  
  46. </if>
  47. <!--- Change the distance at which to cancel WS --->
  48. <xi:include href="Include.xml" xpointer="//include[@name='SetDistanceVariable']/*" />
  49.  
  50.  
  51. <elseif type="WhiteMagic|BlackMagic">
  52. <xi:include href="Include.xml" xpointer="//include[@name='HealingBreathRules']/*" />
  53. </elseif>
  54. <elseif type="BlueMagic">
  55. <xi:include href="Include.xml" xpointer="//include[@name='HealingBreathRules']/*" />
  56. </elseif>
  57.  
  58.  
  59. <if type="WeaponSkill">
  60. <castdelay delay="0.03" />
  61. <midcastdelay delay="0.7" />
  62. <if Spell="Camlann's Torment|Drakesbane|Geirskogul|Wheeling Thrust|Sonic Thrust|Penta Thrust|Raiden Thrust|Full Swing|Stardiver|Cataclysm||Shattersoul|Retribution|Geirskogul">
  63. <castdelay delay="0.03" />
  64. <equip set="%Spell" />
  65. </if>
  66. <else>
  67. <equip set="WS Base" />
  68. </else>
  69.  
  70.  
  71.  
  72.  
  73. <if SubJob="SAM|NIN|WAR|THF|DNC" notBuffactive="Spirit Surge" PetIsValid="True">
  74. <if NotBuffactive="Embrava|March">
  75. <aftercastdelay delay="1.8"/>
  76. <equip when="Midcast" Set="TP-Haste">
  77. <head>Wyrm Armet +2</head>
  78. <neck>Lancer's Torque</neck>
  79. <lear>Dragoon's Earring</lear>
  80. <waist>Glassblower's Belt</waist>
  81. </equip>
  82. </if>
  83.  
  84.  
  85. </if>
  86.  
  87. </if>
  88.  
  89.  
  90.  
  91. <elseif type="JobAbility">
  92. <!--- Precast-only JAs and then the rest will follow using <elseif> labels --->
  93. <if spell="Spirit Surge|Deep Breathing|Call Wyvern|Ancient Circle|Jump|High Jump|Soul Jump">
  94. <castdelay delay="0.03" />
  95. <equip when="precast" set="%Spell" />
  96. </if>
  97. <elseif spell="Spirit Jump">
  98. <castdelay delay="0.03" />
  99. <if PetISValid="TRUE">
  100. <equip when="precast" set="%Spell" />
  101. </if>
  102. <else>
  103. <changespell spell="Jump" />
  104. <equip when="precast" set="Jump" />
  105. </else>
  106. </elseif>
  107. <elseif spell="Deep Breathing">
  108. <equip set="WyvernHP" />
  109. <aftercastdelay delay="8.0" />
  110. </elseif>
  111. <elseif spell="Angon">
  112. <castdelay delay="1" />
  113. <equip when="precast" set="%Spell" />
  114. </elseif>
  115. <elseif spell="Spirit Link">
  116. <castdelay delay="$Delay-JA" />
  117. <if advanced='%pethpp &gt; 76'>
  118. <equip set="Spirit Link" />
  119. </if>
  120. <else>
  121. <equip set="WyvernHP|%Spell" />
  122. </else>
  123. </elseif>
  124. <elseif spell="Meditate" TPGT="290">
  125. <addtochat color="135">Canceled Meditate! TP: %TP</addtochat>
  126. <cancelspell />
  127. <return />
  128. </elseif>
  129.  
  130. </elseif>
  131. <elseif type="PetCommand">
  132. <!--- Restoring and Smiting Breath Rules --->
  133. <if spell="Restoring Breath">
  134. <equip when="precast" set="%Spell" />
  135. <aftercastdelay delay="3.0" />
  136. </if>
  137. <if spell="Smiting Breath">
  138. <equip when="precast" set="HealingBreathTrigger" />
  139. <equip when="midcast" set="Smiting Breath" />
  140. <aftercastdelay delay="2.1" />
  141. </if>
  142. <!--- Cancel Dismiss if Pet has less than 100% HP --->
  143. <elseif spell="Dismiss">
  144. <if advanced='%pethpp!=100'>
  145. <addtochat color="135">Dismiss Canceled! Wyvern HP: %pethpp%</addtochat>
  146. <cancelspell />
  147. <return />
  148. </if>
  149. </elseif>
  150. <elseif spell="Steady Wing">
  151. <castdelay delay="$Delay-JA" />
  152. <equip when="precast" set="%Spell" />
  153. </elseif>
  154. </elseif>
  155. <if spell="angon">
  156. <command>wait 90; Angon Effect Off! &lt;call11&gt; </command>
  157. </if>
  158. </rules>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement