SHARE
TWEET

Untitled

a guest Apr 6th, 2013 38 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <!-- Return Rules -->
  2.     <!-- These stop any gear changes if I'm unable to take particular actions.  The reason for this is because
  3.        if I'm impatient and spamming a macro while petrified or something I don't want a WHM to be unable to target
  4.        me for Stona, for instance. -->
  5.     <include name="ReturnRules">
  6.         <if notSpell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
  7.             <if BuffActive="Sleep|Petrification|Stun|Terror|Charm|Illusion|Egg">
  8.                 <return />
  9.             </if>
  10.             <elseif spell="Ranged">
  11.                 <if advanced='"%SpellTargetDistance" &gt; "24.9"'>
  12.                     <return />
  13.                 </if>
  14.             </elseif>
  15.             <elseif Type="PetCommand|*BloodPact*" notPetISValid="TRUE">
  16.                 <return />
  17.             </elseif>
  18.             <elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence|Mute|Omerta">
  19.                 <return />
  20.             </elseif>
  21.             <elseif Type="Weaponskill|JobAbility|PetCommand|CorsairRoll|CorsairShot|Scholar" BuffActive="Amnesia|Impairment">
  22.                 <return />
  23.             </elseif>
  24.             <elseif type="Weaponskill">
  25.                 <if mode="OR" TPLT="100" advanced='%SpellTargetDistance &gt; $Distance' notstatus="engaged">
  26.                     <cancelspell />
  27.                     <return />
  28.                 </if>
  29.             </elseif>
  30.         </if>
  31.     </include>
  32.     <!--- Do not use rules if less than LV50 --->
  33.     <include name="LVrestriction">
  34.         <if notMLvlGT="50">
  35.             <return />
  36.         </if>
  37.     </include>
  38.     <!--- Do not change gear if spell is a transport spell -->
  39.     <include name="CleanTransportation">
  40.         <if Spell="Warp*|Teleport*|Recall*|Retrace">
  41.             <return />
  42.         </if>
  43.     </include>
  44.     <!-- Variable Trigger: Set Distance Rules -->
  45.     <include name="SetDistanceVariable">
  46.         <elseif Spell="Shackled Fists">
  47.             <cancelspell />
  48.             <var cmd="set Distance %TargetDistance" />
  49.             <addtochat color="135">Distance Variable: $Distance</addtochat>
  50.         </elseif>
  51.     </include>
  52.     <!--- Variable Trigger: Change between Regular Mobs and NMs --->
  53.     <include name="ResistRule">
  54.         <elseif spell="Grim Halo">
  55.             <cancelspell />
  56.             <if notMainJob="RDM|BLM|SCH">
  57.                 <if advanced='"$Resist"=="R"'>
  58.                     <var cmd="set Resist NM" />
  59.                 </if>
  60.                 <else>
  61.                     <var cmd="set Resist R" />
  62.                 </else>
  63.             </if>
  64.             <else>
  65.                 <if advanced='"$Resist"=="R"'>
  66.                     <var cmd="set Resist RNM" />
  67.                     <var cmd="set QuickResist RNM" />
  68.                 </if>
  69.                 <elseif advanced='"$Resist"=="RNM"'>
  70.                     <var cmd="set Resist NM" />
  71.                     <var cmd="set QuickResist NM" />
  72.                 </elseif>
  73.                 <else>
  74.                     <var cmd="set Resist R" />
  75.                     <var cmd="set QuickResist R" />
  76.                 </else>
  77.             </else>
  78.         </elseif>
  79.     </include>
  80.     <!--- Equip DD or Idle Set --->
  81.     <include name="Variable-Blank">
  82.         <elseif Spell="Vulcan Shot">
  83.             <cancelspell />
  84.             <var cmd="set Armor-%Status BlankSet" />
  85.             <command>Dancing Chains</command>
  86.         </elseif>
  87.     </include>
  88.     <!--- Equip MDT (Aegis Schism) --->
  89.     <include name="Variable-MDT">
  90.         <elseif Spell="Aegis Schism">
  91.             <cancelspell />
  92.             <var cmd="set Armor-%Status MDT" />
  93.             <command>Dancing Chains</command>
  94.         </elseif>
  95.     </include>
  96.     <!--- Equip PDT (Barbed Crescent) --->
  97.     <include name="Variable-PDT">
  98.         <elseif Spell="Barbed Crescent">
  99.             <cancelspell />
  100.             <var cmd="set Armor-%Status PDT" />
  101.             <command>Dancing Chains</command>
  102.         </elseif>
  103.     </include>
  104.     <!--- Equip Full Evasion (Carnal Nightmare) --->
  105.     <include name="Variable-FullEvasion">
  106.         <elseif Spell="Carnal Nightmare">
  107.             <cancelspell />
  108.             <var cmd="set Armor-%Status FullEvasion" />
  109.             <command>Dancing Chains</command>
  110.         </elseif>
  111.     </include>
  112.     <!--- Area variable rule --->
  113.     <include name="AreaRule">
  114.         <if area="Abyssea*" advanced='"$Area"!="Abyssea"'>
  115.             <var cmd="set Area Abyssea" />
  116.         </if>
  117.         <elseif notarea="Abyssea*" advanced='"$Area"!="Outside"'>
  118.             <var cmd="set Area Outside" />
  119.         </elseif>
  120.     </include>
  121.     <!--- Lock Weapon Rules --->
  122.     <include name="LockWeaponRule">
  123.         <if mode="OR" advanced='$LockMain==1' EquipMain="TrialWeaponsHere">
  124.             <equip when="all">
  125.                 <main lock="true" />
  126.                 <sub lock="true" />
  127.             </equip>
  128.         </if>
  129.     </include>
  130.     <!--- Change to TP when engaged, Idle when idle, and Resting when resting --->
  131.     <include name="AutoChangeGear">
  132.         <if status="idle" notSpell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
  133.             <equip when="idle|aftercast" set="$Idle" />
  134.         </if>
  135.         <elseif status="engaged" notSpell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
  136.             <equip when="engaged|aftercast" set="$TP" />
  137.         </elseif>
  138.         <elseif status="resting" notSpell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree">
  139.             <equip when="all" set="Resting" />
  140.         </elseif>
  141.         <command when="idle">wait 1;Dancing Chains</command>
  142.     </include>
  143.     <!--- Variable Trigger: Update current gear set --->
  144.     <include name="UpdateSetRule">
  145.         <if spell="Dancing Chains">
  146.             <cancelspell />
  147.             <if status="idle">
  148.                 <equip set="$Idle" />
  149.             </if>
  150.             <elseif status="engaged">
  151.                 <equip set="$TP" />
  152.             </elseif>
  153.         </if>
  154.     </include>
  155.     <!-- Spell Cancel Rules -->
  156.     <include name="SpellCancel">
  157.         <if Spell="Sneak" BuffActive="Sneak" TargetType="SELF">
  158.             <midcastdelay delay="1" />
  159.             <command when="midcast">cancel 71</command>
  160.         </if>
  161.         <elseif spell="Spectral Jig" BuffActive="Sneak">
  162.             <command when="precast">cancel 71</command>
  163.         </elseif>
  164.         <elseif Spell="Monomi*" BuffActive="Sneak">
  165.             <midcastdelay delay="2.5" />
  166.             <command when="midcast">cancel 71</command>
  167.         </elseif>
  168.         <elseif spell="Utsusemi: Ichi" buffactive="Copy Image*" notbuffactive="Silence|Mute|Omerta|Obliviscence">
  169.             <if notbuffactive="Copy Image (3)|Copy Image (4)">
  170.                 <midcastdelay delay="2.5" />
  171.                 <cmd when="midcast">cancel 66</cmd>
  172.                 <cmd when="midcast">cancel 446</cmd>
  173.             </if>
  174.             <else>
  175.                 <cancelspell />
  176.                 <return />
  177.             </else>
  178.         </elseif>
  179.         <elseif Spell="Stoneskin" BuffActive="Stoneskin">
  180.             <midcastdelay delay="2.8" />
  181.             <command when="midcast">cancel 37</command>
  182.         </elseif>
  183.         <elseif Spell="Blink" BuffActive="Blink">
  184.             <midcastdelay delay="5.2" />
  185.             <command when="midcast">cancel 36</command>
  186.         </elseif>
  187.     </include>
  188.     <!--- Misc: Lock Powder Boots --->
  189.     <include name="PowderBootsRule">
  190.         <if EquipFeet="Powder Boots">
  191.             <equip when="all">
  192.                 <feet lock="true" />
  193.             </equip>
  194.         </if>
  195.     </include>
  196.     <!--- Misc: Alert when insufficient MP --->
  197.     <include name="MPCostRule">
  198.         <if notSpell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree" MPCostGT="%MP">
  199.             <addtochat color="135">You need more MP! %Spell: %MP/%MPCost!</addtochat>
  200.         </if>
  201.     </include>
  202.     <!--- Subs: Change to Conv gear and lock cure gear changes until first cast -->
  203.     <include name="ConvRules">
  204.         <if status="engaged" Spell="Convert">
  205.             <castdelay delay="0.02" />
  206.             <equip when="precast" set="%Spell" />
  207.             <var cmd="set TP Convert" />
  208.         </if>
  209.         <if status="idle" Spell="Convert">
  210.             <castdelay delay="0.02" />
  211.             <equip when="precast" set="%Spell" />
  212.             <var cmd="set Idle Convert" />
  213.         </if>
  214.     </include>
  215.     <!-- Elemental Obi Rule -->
  216.     <include name="ElementalObiRule">
  217.         <if SpellTargetType="MONSTER" advanced='("%SpellElement"="%WeatherElement" OR "%SpellElement"="%DayElement") AND "$Obi-%SpellElement"!="0"'>
  218.             <equip when="midcast">
  219.                 <waist lock="yes">$Obi-%SpellElement</waist>
  220.                 <back lock="yes">Twilight Cape</back>
  221.             </equip>
  222.         </if>
  223.     </include>
  224.         <!--- Healing Breath Rules --->
  225.         <include name="HealingBreathRules">
  226.         <if subjob="WHM|RDM|BLM|BLU|SCH" PetISValid="TRUE" type="*Magic">
  227.             <if mode="OR" spell="Phalanx" advanced='(%HPP &lt; 70 AND %Casttime &lt; 2.5) OR (%PartyCount &gt; 1 AND %Casttime &lt; 2.5)'>
  228.                 <castdelay delay="$Delay-Spell" />
  229.                 <equip when="precast" set="HealingBreathTrigger" />
  230.                 <var cmd="setcalc HealingBreathDelay %CastTime + 0.4" />
  231.                 <midcastdelay delay="$HealingBreathDelay" />
  232.                 <equip when="midcast" set="Restoring Breath" />
  233.                 <aftercastdelay delay="2.1" />
  234.             </if>
  235.         </if>
  236.         <elseif subjob="PLD|DRK|BRD|NIN" PetISValid="TRUE" type="*Magic|*Song|Ninjutsu" CastTimeLT="2" HPPLT="34">
  237.             <castdelay delay="$Delay-Spell" />
  238.             <equip when="precast" set="HealingBreathTrigger" />
  239.             <var cmd="setcalc HealingBreathDelay %CastTime + 0.4" />
  240.             <midcastdelay delay="$HealingBreathDelay" />
  241.             <equip when="midcast" set="Restoring Breath" />
  242.             <aftercastdelay delay="2.1" />
  243.         </elseif>
  244.         </include>
  245.     <!-- Enspells Rule -->
  246.     <include name="EnspellsRule">
  247.         <if spell="Enfire" Day="Earth|Water|Wind|Ice|Thunder">
  248.             <changespell spell="$Enspell-%DayElement" />
  249.         </if>
  250.     </include>
  251. </includes>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top