Mynameisgonz

WHM

Dec 14th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.06 KB | None | 0 0
  1. <?xml version="1.0" ?> 
  2. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  3.     <config RequireVersion="2.3" Debug="False" HideErrors="False" ShowGearSwaps="False" QuickCommands="True" ShowSpellInfo="False" />
  4.     <sets>
  5.         <group default="yes" name="WHM">
  6.             <!-- http://www.ffxiah.com/item-sets/281858 -->
  7.             <set name="Idle">
  8.                 <main>Owleyes</main>
  9.                 <sub>Genbu's Shield</sub>
  10.                 <ammo>Incantor Stone</ammo>
  11.                 <head>Orison Cap +2</head>
  12.                 <neck>Orison Locket</neck>             
  13.                 <rear>Loquacious Earring</rear>
  14.                 <lear>Orison Earring</lear>
  15.                 <body>Orison Bliaud +2</body>
  16.                 <hands>Serpentes Cuffs</hands>
  17.                 <rring>Ephedra Ring</rring>
  18.                 <lring>Sirona's Ring</lring>
  19.                 <back>Tempered Cape</back>
  20.                 <waist>Cleric's Belt</waist>
  21.                 <legs>Orison Pantaloons +2</legs>
  22.                 <feet>Serpentes Sabots</feet>
  23.             </set>
  24.             <!-- http://www.ffxiah.com/item-sets/281861 -->
  25.             <set name="FastCast" baseset="Idle">
  26.                 <ammo>Incantor Stone</ammo>
  27.                 <neck>Orison Locket</neck>
  28.                 <lear>Loquac. Earring</lear>
  29.                 <hands>Repartie Gloves</hands>
  30.                 <lring>Prolix Ring</lring>
  31.                 <back>Swith Cape</back>
  32.                 <waist>Witful Belt</waist>
  33.                 <feet>Cure Clogs</feet>
  34.             </set>
  35.             <!-- http://www.ffxiah.com/item-sets/281862 -->
  36.             <set name="CureFastCast" baseset="FastCast">
  37.                 <main>Nathushne</main>
  38.                 <sub>Dominie's Grip</sub>
  39.                 <head>Cleric's Cap +2</head>
  40.                 <neck>Aceso's Choker</neck>
  41.                 <body>Nefer Kalasiris</body>
  42.                 <feet>Cure Clogs</feet>
  43.             </set>
  44.             <!-- http://www.ffxiah.com/item-sets/281867 -->
  45.             <set name="Healing" baseset="Idle">
  46.                 <main>Nathushne</main>
  47.                 <ammo>Curatio Grip</ammo>
  48.                 <head>Orison Cap +2</head>
  49.                 <neck>Fylgja Torque</neck>
  50.                 <lear>Roundel Earring</lear>
  51.                 <rear>Orison Earring</rear>
  52.                 <body>Nefer Kalasiris</body>
  53.                 <hands>Healer's Mitts +1</hands>
  54.                 <lring>Sirona's Ring</lring>
  55.                 <rring>Ephedra Ring</rring>
  56.                 <back>Tempered Cape</back>
  57.                 <waist>Cleric's Belt</waist>
  58.                 <legs>Orsn. Pantaln. +2</legs>
  59.                 <feet>Cleric's Duckbills +2</feet>
  60.             </set>
  61.             <!-- http://www.ffxiah.com/item-sets/281859 -->
  62.             <set name="ConserveMP" baseset="Idle">
  63.                 <main>Iridal Staff</main>
  64.                 <sub>Wizzan Grip</sub>
  65.                 <head>Laurel Wreath</head>
  66.                 <ammo>Clarus Stone</ammo>
  67.                 <lear>Gifted Earring</lear>
  68.                 <rear>Magnetic Earring</rear>
  69.                 <body>Cobra Robe</body>
  70.                 <hands>Cobra Gloves</hands>
  71.                 <back>Vita Cape</back>
  72.                 <waist>Austerity Belt</waist>
  73.                 <legs>Cobra Trews</legs>
  74.                 <feet>Cobra Crackows</feet>
  75.             </set>
  76.             <!-- http://www.ffxiah.com/item-sets/281865 -->
  77.             <set name="Resting" baseset="Idle">
  78.                 <main>Iridal Staff</main>
  79.                 <sub>Ariesian Grip</sub>
  80.                 <ammo>Clarus Stone</ammo>
  81.                 <head>Cobra Hat</head>
  82.                 <neck>Eidolon Pendant</neck>
  83.                 <lear>Antivenom Earring</lear>
  84.                 <rear>Magnetic Earring</rear>
  85.                 <body>Errant Houppelande</body>
  86.                 <hands>Genie Gages</hands>
  87.                 <lring>Star Ring</lring>
  88.                 <rring>Star Ring</rring>
  89.                 <back>Vita Cape</back>
  90.                 <waist>Austerity Belt</waist>
  91.                 <legs>Nisse Slacks</legs>
  92.                 <feet>Chelona Boots</feet>
  93.             </set>
  94.             <!-- http://www.ffxiah.com/item-sets/281869 -->
  95.             <set name="Enfeebling" baseset="Idle">
  96.                 <main>Iridal Staff</main>
  97.                 <sub>Macero Grip</sub>
  98.                 <head>Hyksos Khat</head>
  99.                 <neck>Enfeebling Torque</neck>
  100.                 <lear>Enfeebling Earring</lear>
  101.                 <rear>Aredan Earring</rear>
  102.                 <body>Preaco Doublet</body>
  103.                 <hands>Cleric's Mitts +2</hands>
  104.                 <rring>Aquasoul Ring</rring>
  105.                 <lring>Aquasoul Ring</lring>
  106.                 <back>Chela Cape</back>
  107.                 <waist>Demonry Sash</waist>
  108.                 <legs>Portent Pants</legs>
  109.                 <feet>Sweven Boots</feet>
  110.             </set>
  111.             <!-- http://www.ffxiah.com/item-sets/281872 -->
  112.             <set name="Enhancing" baseset="Enfeebling">
  113.                 <sub>Fulcio Grip</sub>
  114.                 <neck>Colossus's Torque</neck>
  115.                 <waist>Cascade Belt</waist>
  116.                 <legs>Portent Pants</legs>
  117.                 <feet>Orison Duckbills +2</feet>
  118.             </set>
  119.             <!-- http://www.ffxiah.com/item-sets/281876 -->
  120.             <set name="Divine" baseset="Enfeebling">
  121.                 <sub>Divinus Grip</sub>
  122.                 <head>Hyksos Khat</head>
  123.                 <neck>Divine Torque</neck>
  124.                 <lear>Divine Earring</lear>
  125.                 <hands>Cleric's Mitts +2</hands>
  126.                 <legs>Healer's Pantaloons +1</legs>
  127.             </set>
  128.         </group>   
  129.     </sets>
  130.     <rules>
  131.         <if spell="Escape|Warp|Warp II|Retrace|Recall-*|Teleport-*">
  132.                     <return />
  133.             </if>
  134.         <if status="idle">
  135.             <equip when="idle|aftercast" set="Idle" />
  136.         </if>
  137.         <elseif notstatus="engaged">
  138.                     <equip when="idle|aftercast" set="Idle" />
  139.                     <equip when="resting" set="Resting" />
  140.             </elseif>
  141.         <if skill="HealingMagic">
  142.             <equip when="precast" set="CureFastCast" />
  143.             <action type="MidCastDelay" delay="0.5" />
  144.                 <equip when="midcast" set="ConserveMP" />
  145.             <if spell="Cure*|Curaga*|Cura*">
  146.                         <equip when="midcast" set="Healing" />
  147.                         <if MPLT="60">
  148.                                 <!-- Show Spell Info for cures only when low on MP -->
  149.                                 <ShowSpellInfo />
  150.                         </if>
  151.                         <if NotBuffActive="Light Arts">
  152.                             <if Spell="Cure VI" MPLT="227">
  153.                                     <changespell Spell="Cure V" />
  154.                                 </if>
  155.                             <if Spell="Cure V" MPLT="135">
  156.                                     <changespell Spell="Cure IV" />
  157.                                 </if>
  158.                                 <if Spell="Cure IV" MPLT="88">
  159.                                     <changespell Spell="Cure III" />
  160.                                 </if>
  161.                                 <if Spell="Cure III" MPLT="46">
  162.                                     <changespell Spell="Cure II" />
  163.                                 </if>
  164.                                 <if Spell="Cure II" MPLT="24">
  165.                                     <CancelSpell />
  166.                                     <AddToChat color="56">[ERROR] Not enough MP To cast Cure! ~</AddToChat>
  167.                                 </if>
  168.                         </if>
  169.                         <else> <!-- Light Arts is Active - -10% MP Cost -->
  170.                                 <if NotBuffActive="Penury">
  171.                                     <if Spell="Cure VI" MPLT="205">
  172.                                         <changespell Spell="Cure V" />
  173.                                     </if>
  174.                                     <if Spell="Cure V" MPLT="122">
  175.                                         <changespell Spell="Cure IV" />
  176.                                     </if>
  177.                                     <if Spell="Cure IV" MPLT="80">
  178.                                         <changespell Spell="Cure III" />
  179.                                     </if>
  180.                                     <if Spell="Cure III" MPLT="42">
  181.                                         <changespell Spell="Cure II" />
  182.                                     </if>
  183.                                     <if Spell="Cure II" MPLT="22">
  184.                                             <CancelSpell />
  185.                                             <AddToChat color="56">[ERROR] Not enough MP To cast Cure! ~</AddToChat>
  186.                                     </if>
  187.                                 </if>
  188.                                 <else> <!-- Penury is Active - -50% MP Cost -->
  189.                                     <if Spell="Cure VI" MPLT="114">
  190.                                             <changespell Spell="Cure V" />
  191.                                     </if>
  192.                                     <if Spell="Cure V" MPLT="68">
  193.                                             <changespell Spell="Cure IV" />
  194.                                     </if>
  195.                                     <if Spell="Cure IV" MPLT="44">
  196.                                             <changespell Spell="Cure III" />
  197.                                     </if>
  198.                                     <if Spell="Cure III" MPLT="23">
  199.                                             <changespell Spell="Cure II" />
  200.                                     </if>
  201.                                     <if Spell="Cure II" MPLT="12">
  202.                                             <CancelSpell />
  203.                                             <AddToChat color="56">[ERROR] Not enough MP To cast Cure! ~</AddToChat>
  204.                                     </if>
  205.                                 </else>
  206.                         </else>
  207.                     </if>
  208.             <elseif spell="*na">
  209.                         <equip when="midcast" set="ConserveMP" />
  210.                     </elseif>
  211.         </if>
  212.         <elseif skill="EnhancingMagic">
  213.             <equip when="precast" set="FastCast" />
  214.             <action type="MidCastDelay" delay="0.2" />
  215.                     <equip when="midcast" set="Enhancing" />
  216.             <if spell="Regen*">
  217.                         <if NotBuffActive="Light Arts">
  218.                             <if spell="Regen IV" MPLT="82">
  219.                                 <changespell Spell="Regen III" />
  220.                                 </if>
  221.                                 <if spell="Regen III" MPLT="64">
  222.                                     <changespell Spell="Regen II" />
  223.                                 </if>
  224.                                 <if spell="Regen II" MPLT="36">
  225.                                     <changespell Spell="Regen" />
  226.                                 </if>
  227.                                 <if spell="Regen" MPLT="15">
  228.                                     <CancelSpell />
  229.                                     <AddToChat color="56">[ERROR] Not enough MP To cast Regen! ~</AddToChat>
  230.                                 </if>
  231.                         </if>
  232.                         <else> <!-- Light Arts is Active - -10% MP Cost -->
  233.                                 <if NotBuffActive="Penury">
  234.                         <if spell="Regen IV" MPLT="74">
  235.                             <changespell Spell="Regen III" />
  236.                         </if>
  237.                         <if spell="Regen III" MPLT="58">
  238.                             <changespell Spell="Regen II" />
  239.                         </if>
  240.                         <if spell="Regen II" MPLT="33">
  241.                             <changespell Spell="Regen" />
  242.                         </if>
  243.                         <if spell="Regen" MPLT="14">
  244.                             <CancelSpell />
  245.                             <AddToChat color="56">[ERROR] Not enough MP To cast Regen! ~</AddToChat>
  246.                         </if>
  247.                                 </if>
  248.                                 <else> <!-- Penury is Active - -50% MP Cost -->
  249.                                     <if spell="Regen IV" MPLT="41">
  250.                                             <changespell Spell="Regen III" />
  251.                                     </if>
  252.                                     <if spell="Regen III" MPLT="32">
  253.                                             <changespell Spell="Regen II" />
  254.                                     </if>
  255.                                     <if spell="Regen II" MPLT="18">
  256.                                             <changespell Spell="Regen" />
  257.                                     </if>
  258.                                     <if spell="Regen" MPLT="8">
  259.                                         <CancelSpell />
  260.                                             <AddToChat color="56">[ERROR] Not enough MP To cast Regen! ~</AddToChat>
  261.                                     </if>
  262.                                 </else>
  263.                         </else>
  264.                     </if>
  265.             <elseif spell="Erase">
  266.                 <equip when="precast" set="FastCast" />
  267.                 <equip when="midcast" set="ConserveMP" />
  268.             </elseif>
  269.             <elseif spell="Protect|Protect II|Protect III|Protect IV|Protectra I|Protectra II|Protectra III|Protectra IV|Protectra V|Shell I|Shell II|Shell III|Shell IV|Shell V|Shellra I|Shellra II|Shellra III|Shellra IV|Shellra V|Haste|Refresh|Blink|Aquaveil|*storm|Tractor|Raise*|Arise">
  270.                         <equip when="midcast" set="ConserveMP" />
  271.                     </elseif>
  272.         </elseif>
  273.         <elseif skill="DivineMagic">
  274.             <equip when="precast" set="FastCast" />
  275.             <action type="MidCastDelay" delay="0.3" />
  276.             <equip when="midcast" set="Divine" />
  277.                 <if spell="Repose">
  278.                         <command when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] %Target Wearing off in 45s</command>
  279.                         <command when="aftercast">wait 75;input /echo [$sleepid:%spell] %TargetWearing off in 15s</command>
  280.                         <command when="aftercast">wait 85;input /echo [$sleepid:%spell] %TargetWearing off in 5s;spellcast var dec sleepid;</command>
  281.                     </if>
  282.         </elseif>
  283.         <elseif skill="EnfeeblingMagic">
  284.                     <equip when="precast" set="FastCast" />
  285.                     <equip when="midcast" set="Enfeebling" />
  286.                     <!-- Timers for when sleep is wearing off. -->
  287.                     <if spell="Sleep II|Sleepga II">
  288.                         <command when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] %target Wearing off in 45s</command>
  289.                         <command when="aftercast">wait 75;input /echo [$sleepid:%spell] %target Wearing off in 15s</command>
  290.                         <command when="aftercast">wait 85;input /echo [$sleepid:%spell] %target Wearing off in 5s;spellcast var dec sleepid;</command>
  291.                 </if>
  292.                     <elseif spell="Sleep|Sleepga">
  293.                         <command when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] %target Wearing off in 15s</command>
  294.                         <command when="aftercast">wait 55;input /echo [$sleepid:%spell] %target Wearing off in 5s;spellcast var dec sleepid;</command>
  295.                     </elseif>
  296.             </elseif>
  297.             <elseif skill="DarkMagic">
  298.                     <equip when="precast" set="FastCast" />
  299.             <equip when="midcast" set="Enfeebling" />
  300.                     <if spell="Stun">
  301.                         <!-- These codes just print Stun in auto translate into chat. -->
  302.                         <command>input /p \xFD\x07\x02\x12\xFC\xFD >> %SpellTarget</command>
  303.                     </if>
  304.             </elseif>
  305.         <!-- utility: if targetting a monster, but casting a spell that can not be cast on monsters, then cast on self (buffs). -->
  306.             <if SpellTargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
  307.                     <changetarget target="<stpc>" />
  308.             </if>
  309.             <if SpellTargetType="NONE" ValidTarget="*Self*">
  310.                     <changetarget target="<stpc>" />
  311.             </if>
  312.         <!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
  313.             <if spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
  314.                     <command when="midcast">cancel 71</command>
  315.                     <midcastdelay delay="2.2" />
  316.             </if>
  317.             <elseif spell="Stoneskin" BuffActive="Stoneskin">
  318.                     <command when="midcast">cancel 37</command>
  319.                     <midcastdelay delay="3.8" />
  320.             </elseif>
  321.             <elseif spell="Spectral Jig">
  322.                     <command when="precast">cancel 71</command>
  323.             </elseif>
  324.         <if mode="and" skill="*Magic|Ninjutsu" buffactive="Silence">
  325.                 <cancelspell />
  326.             <command>input /item "Echo Drops" Crystalchan</command>
  327.         </if>
  328.     </rules>
  329. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment