Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 20.66 KB | None | 0 0
  1.    
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <!--
  4. ===============================================================================
  5. Novah's BLM script for Ashitacast by Sigmund
  6. v1.0, 04/05/14
  7.  
  8. I've added a section in the elemental nuking rules to put on elemental resist
  9. gear when casting nukes on Behemoth, King Behemoth and Genbu.  Modify the gear
  10. sets below and your desired targets as you see fit.  For non-resist targets, I
  11. have rules in place that will equip the Sorcerer's Ring, Sorcerer's Tonban and
  12. Uggy Pendant when their latents are met.  Unfortunately I don't have any of the
  13. obis yet so there are no rules taking them into account yet.  I hope this helps.
  14.  
  15. ~ Sigmund
  16.  
  17. Note:
  18. * Sometimes when changing rings or earrings in gear swaps, a ring or earring
  19. from a previous gear set is held over when swapping to the new set. This
  20. seems to happen when the new gearset has the same item in both slots (two
  21. phanntom earrings +1, one in each ear, for example.)  When writing gearsets,
  22. prioritize placing jewelry in the left ear or left ring finger first.
  23. ===============================================================================
  24. -->
  25. <ashitacast>
  26.         <settings>
  27.                 <hpupdate>false</hpupdate>
  28.                 <autoupdate>false</autoupdate>
  29.         </settings>
  30.        
  31.         <variables>
  32.                 <var name="MeleeMode">1</var>
  33.         </variables>
  34.        
  35.         <sets>
  36.                 <set name="Idle">
  37.                         <main>Terra's Staff</main>
  38.                         <sub>Vivid Strap +1</sub>
  39.                         <ammo>Hedgehog Bomb</ammo>
  40.                         <head>Flawless Ribbon</head>
  41.                         <neck>Orochi Nodowa +1</neck>
  42.                         <lear>Abyssal Earring</lear>
  43.                         <rear>Antivenom Earring</rear>
  44.                         <body>Sorcerer's Coat</body>
  45.                         <hands>Oracle's Gloves</hands>
  46.                         <lring>Shadow Ring</lring>
  47.                         <rring>Defending Ring</rring>
  48.                         <back>Shadow Mantle</back>
  49.                         <waist>Witch Sash</waist>
  50.                         <legs>Genie Lappas</legs>
  51.                         <feet>Herald's Gaiters</feet>
  52.                 </set>
  53.                
  54.                 <set name="Vanity">
  55.                         <main>White Joker</main>
  56.                         <sub>Vivid Strap +1</sub>
  57.                         <ammo>Hedgehog Bomb</ammo>
  58.                         <head>Flawless Ribbon</head>
  59.                         <neck>Orochi Nodowa +1</neck>
  60.                         <lear>Abyssal Earring</lear>
  61.                         <rear>Antivenom Earring</rear>
  62.                         <body>Sorcerer's Coat</body>
  63.                         <hands>Oracle's Gloves</hands>
  64.                         <lring>Shadow Ring</lring>
  65.                         <rring>Defending Ring</rring>
  66.                         <back>Shadow Mantle</back>
  67.                         <waist>Witch Sash</waist>
  68.                         <legs>Genie Lappas</legs>
  69.                         <feet>Herald's Gaiters</feet>
  70.                 </set>
  71.                
  72.                 <set name="Resting">
  73.                         <main>Chatoyant Staff</main>
  74.                         <head>Oracle's Cap</head>
  75.                         <neck>Gnole Torque</neck>
  76.                         <lear>Rapture Earring</lear>
  77.                         <rear>Antivenom Earring</rear>
  78.                         <body>Oracle's Robe</body>
  79.                         <hands>Oracle's Gloves</hands>
  80.                         <lring>Celestial Ring</lring>
  81.                         <rring>Celestial Ring</rring>
  82.                         <back>Invigorating Cape</back>
  83.                         <waist>Qiqirn Sash +1</waist>
  84.                         <legs>Oracle's Braconi</legs>
  85.                         <feet>Goliard Clogs</feet>
  86.                 </set>
  87.                
  88.                <set name="MaxMP">
  89.                         <main>Dorje</main>
  90.                         <sub>Dark Grip</sub>
  91.                         <head>Zenith Crown +1</head>
  92.                         <neck>Uggalepih Pendant</neck>
  93.                         <lear>Astral Earring</lear>
  94.                         <rear>Antivenom Earring</rear>
  95.                         <body>Dalmatica +1</body>
  96.                         <hands>Zenith Mitts +1</hands>
  97.                         <lring>Serket Ring</lring>
  98.                         <rring>Celestial Ring</rring>
  99.                         <back>Invigorating Cape</back>
  100.                         <waist>Hierarch Belt</waist>
  101.                         <legs>Zenith Slacks +1</legs>
  102.                         <feet>Zenith Pumps +1</feet>
  103.                 </set>
  104.                
  105.                 <set name="Haste">
  106.                        
  107.                 </set>
  108.                
  109.                 <!-- Magic gearsets -->
  110.                
  111.                 <!-- For future use -->
  112.                 <set name="HPConvert" />
  113.                
  114.                 <set name="FastCast">
  115.                         <main>Chatoyant Staff</main>
  116.                         <sub>Vivid Strap +1</sub>
  117.             <lear>Loquac. Earring</lear>
  118.                 </set>
  119.                
  120.                 <set name="INT">
  121.                         <main>Chatoyant Staff</main>
  122.                         <sub>Vivid Strap +1</sub>
  123.                         <ammo>Phtm. Tathlum</ammo>
  124.                         <head>Demon Helm +1</head>
  125.                         <neck>Lmg. Medallion +1</neck>
  126.                         <lear>Abyssal Earring</lear>
  127.                         <rear>Omn. Earring +1</rear>
  128.                         <body>Dalmatica +1</body>
  129.                         <hands>Mahatma Cuffs</hands>
  130.                         <lring>Omn. Ring +1</lring>
  131.                         <rring>Omn. Ring +1</rring>  
  132.                         <waist>Witch Sash</waist>
  133.                         <legs>Mahatma Slops</legs>
  134.                         <feet>Goliard Clogs</feet>
  135.                 </set>
  136.                
  137.                 <set name="MND">
  138.                         <main>Chatoyant Staff</main>
  139.                         <sub>Vivid Strap +1</sub>
  140.             <head>Zenith Crown +1</head>
  141.                         <body>Dalmatica +1</body>
  142.                         <lring>Celestial Ring</lring>
  143.                         <rring>Celestial Ring</rring>
  144.                         <waist>Witch Sash</waist>
  145.                         <legs>Mahatma Slops</legs>
  146.                 </set>
  147.                
  148.                 <set name="Dark" baseset="INT">
  149.                         <sub>Dark Grip</sub>
  150.                         <neck>Dark Torque</neck>
  151.                         <lear>Dark Earring</lear>
  152.                         <rear>Incubus Earring +1</rear>
  153.                         <hands>Sorcerer's Gloves</hands>
  154.                         <legs>Wizard's Tonban</legs>
  155.                         <feet>Genie Huaraches</feet>
  156.                 </set>
  157.                
  158.                 <set name="Elemental" baseset="INT"> <!-- Aka Full Nuke -->
  159.                         <head>Demon Helm +1</head>
  160.                         <body>Genie Weskit</body>
  161.                         <back>Hecate's Cape</back>
  162.                         <neck>Lmg. Medallion +1</neck>
  163.                         <hands>Zenith Mitts +1</hands>
  164.                         <waist>Witch Sash</waist>
  165.                         <lear>Abyssal Earring</lear>
  166.                         <rear>Moldavite Earring</rear>
  167.                         <lring>Omn. Ring +1</lring>
  168.                         <rring>Omn. Ring +1</rring>
  169.                         <legs>Mahatma Slops</legs>
  170.                         <feet>Goliard Clogs</feet>
  171.                         <sub>Vivid Strap +1</sub>
  172.                 </set>
  173.                
  174.                 <!-- For Sky, Sea, and other events where elemental resistance is high. -->
  175.                 <set name="ElementalResist" baseset="Elemental"> <!-- Aka Resist Nuke -->
  176.                         <head>Src. Petasos +1</head>
  177.                         <body>Genie Weskit</body>
  178.                         <back>Hecate's Cape</back>
  179.                         <waist>Witch Sash</waist>
  180.                         <feet>Numerist Pumps</feet>
  181.                         <hands>Wizard's Gloves</hands>
  182.                                     <neck>Elemental Torque</neck>
  183.                         <lear>Elemental Earring</lear> 
  184.                                     <rear>Incubus Earring +1</rear>
  185.                 </set>
  186.  
  187.         <!-- For Sky, Sea, and other events where elemental resistance is high. -->
  188.                 <set name="MidResist" baseset="Elemental"> <!-- Aka Resist Nuke -->
  189.                         <head>Sorcerer's Petas</head>
  190.                         <body>Genie Weskit</body>
  191.                         <back>Hecate's Cape</back>
  192.                         <waist>Witch Sash</waist>
  193.                         <feet>Numerist Pumps</feet>
  194.                         <hands>Wizard's Gloves</hands>
  195.                         <neck>Elemental Torque</neck>
  196.                         <lear>Elemental Earring</lear> 
  197.                         <rear>Incubus Earring +1</rear>
  198.                 </set>
  199.                
  200.                 <set name="Enfeebling">
  201.                         <main>Alkalurops</main>
  202.                         <head>Genie Tiara</head>
  203.                         <neck>Enfeebling Torque</neck>
  204.                         <lear>Incubus Earring +1</lear>
  205.                         <rear>Incubus Earring +1</rear>
  206.                         <body>Wizard's Coat</body>
  207.                         <legs>Genie Lappas</legs>
  208.                         <back>Hecate's Cape></back>
  209.                         <feet>Avocat Pigaches</feet>
  210.                 </set>
  211.                
  212.                 <set name="Enhancing">
  213.                         <neck>Enhancing Torque</neck>
  214.                         <lear>Augment. Earring</lear>
  215.                 </set>
  216.                
  217.                 <set name="Healing" baseset="MND">
  218.                         <hands>Mahatma Cuffs</hands>
  219.                 </set>
  220.                
  221.                 <set name="Stoneskin">
  222.                         <main>Alkalurops</main>
  223.                         <sub>Vivid Strap +1</sub>
  224.                         <head>none</head>
  225.                         <neck>Enhancing Torque</neck>
  226.                         <lear>Augment. Earring</lear>
  227.                         <rear>Antivenom Earring</rear>
  228.                         <body>Ixion Cloak</body>
  229.                         <hands>Sorcerer's Gloves</hands>
  230.                         <lring>Celestial Ring</lring>
  231.                         <rring>Celestial Ring</rring>
  232.                         <back>Ixion Cape</back>
  233.                         <waist>Witch Sash</waist>
  234.                         <legs>Mahatma Slops</legs>
  235.                         <feet>Genie Huaraches</feet>
  236.                 </set>
  237.                
  238.                 <!-- Weaponskills -->
  239.                 <set name="WS-SpiritTaker">
  240.                         <ammo>Phtm. Tathlum</ammo>
  241.                         <head>Mahatma Hat</head>
  242.                         <neck>Promise Badge</neck>
  243.                         <lear>Celestial Earring</lear>
  244.                         <rear>Celestial Earring</rear>
  245.                         <body>Mahatma Hpl.</body>
  246.                         <hands>Mahatma Cuffs</hands>
  247.                         <lring>Omn. Ring +1</lring>
  248.                         <rring>Omn. Ring +1</rring>
  249.                         <back>Ixion Cape</back>
  250.                         <waist>Witch Sash</waist>
  251.                         <legs>Mahatma Slops</legs>
  252.                         <feet>Mahatma Pigaches</feet>
  253.                 </set>
  254.                
  255.                 <include>
  256.                         <item>Aquilo's Staff</item>
  257.                         <item>Thunder Grip</item>
  258.                         <item>Roundel Earring</item>
  259.                 </include>
  260.         </sets>
  261.        
  262.         <inputcommands>
  263.                 <cmd input="/melee">
  264.                         <if advanced="$MeleeMode=0">
  265.                                 <setvar name="MeleeMode" value="1" />
  266.                                 <command>/ac disable main</command>
  267.                                 <command>/ac disable sub</command>
  268.                                 <addtochat color="57">Melee mode enabled!</addtochat>
  269.                         </if>
  270.                         <else>
  271.                                 <setvar name="MeleeMode" value="0" />
  272.                                 <command>/ac enable main</command>
  273.                                 <command>/ac enable sub</command>
  274.                                 <addtochat color="57">Melee mode disabled.</addtochat>
  275.                         </else>
  276.                 </cmd>
  277.                
  278.        
  279.    <!-- <cmd input="/lock">
  280.         <command>/ac disable main</command>
  281.        <command>/ac disable sub</command>
  282.         <command>/ac disable ammo</command>
  283.        <command>/ac disable head</command>
  284.         <command>/ac disable neck</command>
  285.        <command>/ac disable lear</command>
  286.         <command>/ac disable rear</command>
  287.        <command>/ac disable lring</command>
  288.         <command>/ac disable rring</command>
  289.        <command>/ac disable hands</command>
  290.         <command>/ac disable body</command>
  291.        <command>/ac disable legs</command>
  292.         <command>/ac disable feet</command>
  293.        <command>/ac disable waist</command>
  294.         <command>/ac disable back</command>
  295.        <addtochat color="118">Gear Locked.</addtochat>
  296.    </cmd>
  297.      
  298.     <cmd input="/unlock">
  299.         <command>/ac enable main</command>
  300.        <command>/ac enable sub</command>
  301.         <command>/ac enable ammo</command>
  302.        <command>/ac enable head</command>
  303.         <command>/ac enable neck</command>
  304.        <command>/ac enable lear</command>
  305.         <command>/ac enable rear</command>
  306.        <command>/ac enable lring</command>
  307.         <command>/ac enable rring</command>
  308.        <command>/ac enable hands</command>
  309.         <command>/ac enable body</command>
  310.        <command>/ac enable legs</command>
  311.         <command>/ac enable feet</command>
  312.        <command>/ac enable waist</command>
  313.         <command>/ac enable back</command>
  314.        <addtochat color="118">Gear Unlocked.</addtochat>
  315.    </cmd> -->
  316.                
  317.                
  318.     <cmd input ="/mp">         
  319.         <equip set="MaxMp" />              
  320.     </cmd>             
  321.                
  322.                
  323.         </inputcommands>
  324.        
  325.        <idlegear>
  326.             <if e_area="Bastok*|Port*|*Jeuno|Ru'Lude*|*San d'Oria|Windurst*">
  327.                 <equip set="Vanity" />
  328.             </if>
  329.             <else>
  330.                 <if p_status="resting"> <!-- If resting -->
  331.                     <if advanced="%p_mp>=1150">
  332.                         <equip set="MaxMP" /> <!-- Once you reach a certain MP threshold while resting, you can swap to MaxMp gear to get back even more MP -->
  333.                     </if>
  334.                     <else>
  335.                         <equip set="Resting" /> <!-- Until you cross that threshold above, rest in your normal hMP gear -->
  336.                     </else>
  337.                 </if>
  338.                 <else> <!-- If standing up -->
  339.                     <if advanced="%p_mp>=1150">
  340.                         <equip set="MaxMP" />
  341.                     </if>
  342.                     <else>
  343.                         <equip set="Idle" />
  344.                     </else>
  345.                 </else>
  346.             </else>
  347.         </idlegear>
  348.        
  349.         <!-- Put fast cast gear in the premagic section. -->
  350.         <premagic>
  351.             <if advanced="%p_mp>=1150">
  352.                 <equip set="MaxMP" />
  353.             </if>
  354.             <else>
  355.                 <equip set="Fast Cast" />
  356.             </else>
  357.         </premagic>
  358.        
  359.         <midmagic>
  360.             <if advanced="%p_mp>=1150">
  361.                 <equip set="MaxMP" />
  362.             </if>
  363.             <else>
  364.                 <if ad_type="blackmagic">
  365.                         <if ad_skill="darkmagic">
  366.                                 <equip set="Dark" />
  367.                                 <!-- Use Thunder Grip for Stun instead of the Dark Grip -->
  368.                                 <if ad_name="Stun">
  369.                                         <equip><sub>Thunder Grip</sub></equip>
  370.                                 </if>
  371.                         </if>
  372.                         <elseif ad_skill="elementalmagic">
  373.                                 <!-- Elemental debuffs benefit from pure INT. -->
  374.                                 <if ad_name="Burn|Choke|Drown|Frost|Rasp|Shock">
  375.                                         <equip set="INT" />
  376.                                 </if>
  377.                                 <!-- Nuke gear -->
  378.                                 <else>
  379.                                         <!-- Elemental resistance gear will be equipped for the following monsters
  380.                                             defined within "at_name".  Add as many as you want, separating entries
  381.                                                 with bars.                                                              -->
  382.                                         <if at_name="|Pandemonium Warden|Sieryu|Adamantoise|Om'Yovra|Aspidochelone|Angra Mainyu|Byakko|Suzaku|Kirin|Nidhogg|King Behemoth|Tiamat|Jormungand|Proto-Omega|Vrtra">
  383.                                                 <equip set="ElementalResist" />
  384.                                                 <!-- CONDITIONAL NUKE GEAR CHECKS BELOW -->
  385.                                                 <!-- Use Aquilo's instead if casting ice nukes. -->
  386.                                                 <if ad_name="Blizza*|Freeze*">
  387.                                                         <equip><main>Aquilo's Staff</main></equip>
  388.                                                 </if>
  389.                                         </if>
  390.                                         <!--- If not casting on one of the resist targets defined above,
  391.                                              then regular nuking gear will be used.                     -->
  392.                                         <else>
  393.                                                 <equip set="Elemental" />
  394.                                                 <!-- Use Aquilo's instead if casting ice nukes. -->
  395.                                                 <if ad_name="Blizza*|Freeze*">
  396.                                                         <equip><main>Aquilo's Staff</main></equip>
  397.                                                 </if>
  398.                                                 <!-- Uggalepih Pendant latent checker -->
  399.                                                 <!-- NOTE:  If you play on a private server, the Uggy pendant
  400.                                                         may not be put on at the appropriate time due to differ-
  401.                                                         ences between client spell MP costs and server MP costs  -->
  402.                                                 <if advanced="%ad_mppaftercast<51">
  403.                                                         <equip><neck>Uggalepih Pendant</neck></equip>
  404.                                                 </if>
  405.                                                 <!-- Sorcerer's Ring latent checker -->
  406.                                                 <if advanced="(%p_hpp<76)&(%p_tp<100)">
  407.                                                         <equip><lring>Sorcerer's Ring</lring></equip>
  408.                                                 </if>
  409.                                                 <!-- Sorcerer's Tonban latent checker -->
  410.                                                 <if advanced="%ad_element=%e_dayelement">
  411.                                                         <equip><legs>Sorcerer's Tonban</legs></equip>
  412.                                                 </if>
  413.                                         </else>
  414.                                 </else>
  415.                         </elseif>
  416.                         <elseif ad_skill="enfeeblingmagic">
  417.                                 <equip set="INT" />
  418.                                 <equip set="Enfeebling" />
  419.                                 <!-- Put on Dark Grip for landing Sleeps -->
  420.                                 <if ad_name="Sleep*">
  421.                                         <equip><sub>Dark Grip</sub></equip>
  422.                                 </if>
  423.                         </elseif>
  424.                 </if>
  425.                 <elseif ad_type="whitemagic">
  426.                         <if ad_skill="enfeeblingmagic">
  427.                                 <equip set="MND" />
  428.                                 <equip set="Enfeebling" />
  429.                         </if>
  430.                         <elseif ad_skill="enhancingmagic">
  431.                                 <if ad_name="Stoneskin">
  432.                                         <equip set="Stoneskin" />
  433.                                 </if>
  434.                                 <elseif ad_name="Bar*|Phalanx">
  435.                                         <equip set="Enhancing" />
  436.                                 </elseif>
  437.                         </elseif>
  438.                         <elseif ad_skill="healingmagic">
  439.                                 <if ad_name="Cur*">
  440.                                         <equip set="Healing" />
  441.                                 </if>
  442.                         </elseif>
  443.                 </elseif>
  444.                 <elseif ad_type="ninjutsu">
  445.                         <if ad_name="Utsusemi*">
  446.                                 <equip set="Haste" />
  447.                         </if>
  448.                 </elseif>
  449.                 <elseif>
  450.                 </elseif>
  451.             </else>
  452.         </midmagic>
  453.        
  454.         <weaponskill>
  455.                 <if ad_name="Spirit Taker">
  456.                         <equip set="WS-SpiritTaker" />
  457.                 </if>
  458.                 <elseif ad_name="Cyclone|Gust Slash">
  459.                         <equip set="INT" />
  460.                 </elseif>
  461.         </weaponskill>
  462. </ashitacast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement