Advertisement
TC24k

BLM_Obi_Medal_Pants

May 26th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.21 KB | None | 0 0
  1. <rules>
  2. <!-- Check to see what Moon Phase we are in -->
  3. <xi:include href = "/includes/moon.xml" xpointer = "/includes/include[@name='Moon']/*" />
  4.  
  5. <equip when="precast">
  6.     <main>$%SpellElementStaff</main>
  7. </equip>
  8.  
  9. <if mode="and" Skill="ElementalMagic" notspell="Frost*|Burn*|Choke*|Shock*|Drown*|Rasp*">
  10.     <!--======================================================================
  11.             Artemis' Medal & U Pendant
  12.     ==========================================================================-->
  13.             <if MPPAfterCastLT = "50" advanced = '("$UggPendant"=="1")'>
  14.                 <if advanced = '"$MoonPhase" &gt; 4'>
  15.                     <equip when = "midcast">
  16.                         <neck lock = "yes">Artemis' Medal</neck>
  17.                     </equip>
  18.                 </if>
  19.                 <else>
  20.                     <equip when = "midcast">
  21.                         <neck lock = "yes">Uggalepih Pendant</neck>
  22.                     </equip>
  23.                 </else>
  24.             </if>
  25.             <elseif advanced = '"$MoonPhase" &gt; 2'>
  26.                 <equip when = "midcast">
  27.                     <neck lock = "yes">Artemis' Medal</neck>
  28.                 </equip>
  29.             </elseif>
  30.             <elseif advanced = '"$MoonPhase" &lt; 3'>
  31.                 <equip when="midcast">
  32.                     <neck lock="yes">Feud Pendant</neck>
  33.                 </equip>
  34.             </elseif>
  35.    
  36.     <!--======================================================================
  37.             Obi's
  38.     ==========================================================================-->
  39.     <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
  40.         <if     Element="Dark">
  41.             <equip when="midcast">
  42.                 <waist lock="yes">Anrin Obi</waist>
  43.                 <back lock="yes">Twilight Cape</back>
  44.             </equip>
  45.             <addtochat color="121">Dark Obi  and Twilight Cape - Equipped</addtochat>
  46.         </if>
  47.        
  48.         <elseif Element="Light">
  49.             <equip when="midcast">
  50.                 <waist lock="yes">Korin Obi</waist>
  51.                 <back lock="yes">Twilight Cape</back>
  52.             </equip>
  53.             <addtochat color="121">Light Obi  and Twilight Cape - Equipped</addtochat>
  54.         </elseif>
  55.        
  56.         <elseif Element="Thunder">
  57.             <equip when="midcast">
  58.                 <waist lock="yes">Rairin Obi</waist>
  59.                 <back lock="yes">Twilight Cape</back>
  60.             </equip>
  61.             <addtochat color="121">Thunder Obi  and Twilight Cape - Equipped</addtochat>
  62.         </elseif>
  63.        
  64.         <elseif Element="Ice">
  65.             <equip when="midcast">
  66.                 <waist lock="yes">Hyorin Obi</waist>
  67.                 <back lock="yes">Twilight Cape</back>
  68.             </equip>
  69.             <addtochat color="121">Ice Obi  and Twilight Cape - Equipped</addtochat>
  70.         </elseif>
  71.        
  72.         <elseif Element="Fire">
  73.             <equip when="midcast">
  74.                 <waist lock="yes">Karin Obi</waist>
  75.                 <back lock="yes">Twilight Cape</back>
  76.             </equip>
  77.             <addtochat color="121">Fire Obi  and Twilight Cape - Equipped</addtochat>
  78.         </elseif>
  79.        
  80.         <elseif Element="Wind">
  81.             <equip when="midcast">
  82.                 <waist lock="yes">Furin Obi</waist>
  83.                 <back lock="yes">Twilight Cape</back>
  84.             </equip>
  85.             <addtochat color="121">Wind Obi  and Twilight Cape - Equipped</addtochat>
  86.         </elseif>
  87.        
  88.         <elseif Element="Water">
  89.             <equip when="midcast">
  90.                 <waist lock="yes">Suirin Obi</waist>
  91.                 <back lock="yes">Twilight Cape</back>
  92.             </equip>
  93.             <addtochat color="121">Water Obi  and Twilight Cape - Equipped</addtochat>
  94.         </elseif>
  95.        
  96.         <elseif Element="Earth">
  97.             <equip when="midcast">
  98.                 <waist lock="yes">Dorin Obi</waist>
  99.                 <back lock="yes">Twilight Cape</back>
  100.             </equip>
  101.             <addtochat color="121">Earth Obi and Twilight Cape - Equipped</addtochat>
  102.         </elseif>
  103.        
  104.     </if>
  105.     <else>
  106.         <equip when="midcast">
  107.             <waist>Goetia Chausses +2</waist>
  108.             <back>Searing Cape</back>
  109.         </equip>
  110.     </else>
  111.    
  112.     <!--======================================================================
  113.         AF2 Pants
  114.     ==========================================================================-->
  115.  
  116.     <if Advanced='(!((bool)strmatch("* x2","%Weather") AND "%WeatherElement" = "%SpellElement" AND "$%SpellElementObi" = "1") OR !("%WeatherElement" = "%spellElement")) AND ("%SpellElement" = "%DayElement" AND "$BLMAF2Pants" = "1") AND ("%skill"="ElementalMagic")'>
  117.         <equip when="midcast">
  118.             <legs lock="yes">Sorcerer's Tonban</legs>
  119.             <back lock="yes">Twilight Cape</back>
  120.         </equip>
  121.         <addtochat color="121">AF2 Pants - Equipped</addtochat>
  122.     </if>
  123.     <else>
  124.         <equip when="midcast">
  125.             <legs>Goetia Chausses +2</legs>
  126.             <back>Searing Cape</back>
  127.         </equip>
  128.     </else>
  129. </if>
  130.  
  131. </rules>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement