Advertisement
Ihm

COR v1.2

Ihm
Mar 3rd, 2013
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.86 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  3.     <!--
  4.         Created by Ihm
  5.        
  6.         If you're using this, leave this here please, credit the author and stuff :3.
  7.        
  8.         Version 1.2
  9.     -->
  10.     <config debug="false" showgearswaps="false" showspellinfo="false"/>
  11.     <variables clear="true">
  12.         <xi:include href="Ihms-includes.xml" xpointer="/includes/include[@name='CORRolls']/*" />
  13.         <var name="LuzRing">0</var>
  14.         <var name="LastRoll">None</var>
  15.         <var name="SpamBullet">Bronze Bullet</var>
  16.         <var name="MainBullet">Steel Bullet</var>
  17.         <var name="MaxBullet">Omphalos Bullet</var>
  18.         <var name="FirstRun">1</var>
  19.     </variables>
  20.     <sets>
  21.         <group name="MiscGear">
  22.             <set name="MiscGear">
  23.                 <ammo>Bronze Bullet</ammo>
  24.                 <ammo>Steel Bullet</ammo>
  25.                 <ammo>Omphalos Bullet</ammo>
  26.                 <body>Thaumas Coat</body>
  27.                
  28.                 <item>Fire Card</item>
  29.                 <item>Trump Card</item>
  30.                 <item>Dark Card</item>
  31.             </set>
  32.         </group>
  33.         <group default="yes" name="Main">
  34.             <set name="Idle">
  35.                 <main>Chatoyant Staff</main>
  36.                 <sub>Elder Grip</sub>
  37.                 <range>Armageddon</range>
  38.                 <ammo>$MainBullet</ammo>
  39.                 <head>Blood Mask</head>
  40.                 <neck>Twilight Torque</neck>
  41.                 <lear>Ethereal Earring</lear>
  42.                 <rear>Colossus's Earring</rear>
  43.                 <body>Dst. Harness +1</body>
  44.                 <hands>Melaco Mittens</hands>
  45.                 <lring>Sheltered Ring</lring>
  46.                 <rring>Shadow Ring</rring>
  47.                 <back>Shadow Mantle</back>
  48.                 <waist>Sveltesse Gouriz</waist>
  49.                 <legs>Thaumas Kecks</legs>
  50.                 <feet>Skadi's Jambeaux</feet>
  51.             </set>
  52.             <set name="Rest" baseset="Idle"/>
  53.             <set name="Engaged" baseset="Idle">
  54.                 <lring>Dark Ring</lring>
  55.             </set>
  56.             <!--<set name="RangeFight" baseset="Idle">
  57.                 <ammo>$MainBullet</ammo>
  58.                 <head>Nvrch. Tricorne +2</head>
  59.                 <neck>Peacock Charm</neck>
  60.                 <lear>Altdorf's Earring</lear>
  61.                 <rear>Wilhelm's Earring</rear>
  62.                 <body>Mextli Harness</body>
  63.                 <hands>Nvrch. Gants +2</hands>
  64.                 <lring>Arewe Ring</lring>
  65.                 <rring>Arewe Ring</rring>
  66.                 <back>Libeccio Mantle</back>
  67.                 <waist>Commodore Belt</waist>
  68.                 <legs>Comm. Culottes +2</legs>
  69.                 <feet>Thaumas Nails</feet>
  70.             </set>-->
  71.             <set name="RangeFight" baseset="Idle">
  72.                 <ammo>$MainBullet</ammo>
  73.                 <head>Nvrch. Tricorne +2</head>
  74.                 <lear>Altdorf's Earring</lear>
  75.                 <rear>Wilhelm's Earring</rear>
  76.                 <body>Nvrch. Frac +2</body>
  77.                 <hands>Nvrch. Gants +2</hands>
  78.                 <lring>Stormsoul Ring</lring>
  79.                 <rring>Stormsoul Ring</rring>
  80.                 <back>Forban Cape</back>
  81.                 <waist>Aquiline Belt</waist>
  82.                 <legs>Comm. Culottes +2</legs>
  83.                 <feet>Thaumas Nails</feet>
  84.             </set>
  85.             <set name="RangeAcc" baseset="RangeFight"/>
  86.             <set name="RangeWSWildfireIn" baseset="RangeFight">
  87.                 <lring>Demon's Ring</lring>
  88.                 <ammo>$SpamBullet</ammo>
  89.                 <head>Thaumas Hat</head>
  90.                 <neck>Stoicheion Medal</neck>
  91.                 <lear>Hecate's Earring</lear>
  92.                 <rear>Novio Earring</rear>
  93.                 <body>Mirke Wardecors</body>
  94.                 <hands>Thaumas Gloves</hands>
  95.                 <back>Forban Cape</back>
  96.                 <waist>Aquiline Belt</waist>
  97.                 <legs>Thurandaut Tights</legs>
  98.                 <feet>Nvrch. Bottes +2</feet>
  99.                 <rring>Demon's Ring</rring>
  100.             </set>
  101.             <set name="RangeWSWildfireOut" baseset="RangeWSWildfireIn">
  102.                 <lring>Stormsoul Ring</lring>
  103.                 <ammo>$SpamBullet</ammo>
  104.                 <body>Thurandaut Tabard</body>
  105.                 <waist>Sveltesse Gouriz</waist>
  106.                 <rring>Stormsoul Ring</rring>
  107.             </set>
  108.             <set name="QuickDraw" baseset="RangeFight">
  109.                 <lring>Demon's Ring</lring>
  110.                 <ammo>$MaxBullet</ammo>
  111.                 <head>Blood Mask</head>
  112.                 <neck>Stoicheion Medal</neck>
  113.                 <lear>Hecate's Earring</lear>
  114.                 <rear>Novio Earring</rear>
  115.                 <body>Mirke Wardecors</body>
  116.                 <hands>Schutzen Mittens</hands>
  117.                 <back>Forban Cape</back>
  118.                 <waist>Aquiline Belt</waist>
  119.                 <legs>Nvrch. Culottes +2</legs>
  120.                 <feet>Nvrch. Bottes +2</feet>
  121.                 <rring>Demon's Ring</rring>
  122.             </set>
  123.             <set name="QuickDrawAcc" baseset="QuickDraw">
  124.                 <lring>Stormsoul Ring</lring>
  125.                 <head>Blood Mask</head>
  126.                 <lear>Altdorf's Earring</lear>
  127.                 <rear>Wilhelm's Earring</rear>
  128.                 <rring>Stormsoul Ring</rring>
  129.             </set>
  130.             <set name="Magic">
  131.                 <head>Zelus Tiara</head>
  132.                 <rear>Loquac. Earring</rear>
  133.                 <hands>Thaumas Gloves</hands>
  134.                 <waist>Twilight Belt</waist>
  135.                 <legs>Thaumas Kecks</legs>
  136.             </set>
  137.             <set name="Shadowbind" baseset="RangeFight"/>
  138.             <set name="Luzaf">
  139.                 <lring>Luzaf's Ring</lring>
  140.             </set>
  141.             <set name="TripleShot">
  142.                 <body>Nvrch. Frac +2</body>
  143.             </set>
  144.             <set name="RollOverride">
  145.                 <head>Comm. Tricorne</head>
  146.                 <hands>Nvrch. Gants +2</hands>
  147.             </set>
  148.             <set name="SnakeEye" baseset="RollOverride">
  149.                 <legs>Comm. Culottes +2</legs>
  150.             </set>
  151.             <set name="BlitzersRoll" baseset="RollOverride">
  152.                 <head>Nvrch. Tricorne +2</head>
  153.             </set>
  154.             <set name="CoursersRoll" baseset="RollOverride">
  155.                 <feet>Nvrch. Bottes +2</feet>
  156.             </set>
  157.             <set name="TacticiansRoll" baseset="RollOverride">
  158.                 <body>Nvrch. Frac +2</body>
  159.             </set>
  160.             <set name="AlliesRoll" baseset="RollOVerride">
  161.                 <hands>Nvrch. Gants +2</hands>
  162.             </set>
  163.             <set name="CastersRoll" baseset="RollOVerride">
  164.                 <hands>Nvrch. Culottes +2</hands>
  165.             </set>
  166.             <set name="RandomDeal">
  167.                 <body>Comm. Frac +2</body>
  168.             </set>
  169.         </group>
  170.     </sets>
  171.     <rules>
  172.         <if advanced="(&quot;$FirstRun&quot;==&quot;1&quot;)">
  173.             <action type="command">
  174.                 ae unregister 20000; ae unregister 20001; ae unregister 20002; ae unregister 20003; ae unregister 20004; ae unregister 20005;
  175.                 wait 1;
  176.                 ae register 20000 losebuff_Double-Up_Chance input /ja "Diffusion";
  177.             </action>
  178.             <action type="command">sc var set FirstRun 0;</action>
  179.         </if>
  180.         <if notspell="Ranged">
  181.             <if spelltargettype="NPC" notvalidtarget="*Enemy*" validtarget="*Self*">
  182.                 <action type="changetarget" target="&lt;me&gt;"/>
  183.             </if>
  184.             <if spelltargettype="NPC" notvalidtarget="*NPC*" validtarget="*Self*">
  185.                 <action type="changetarget" target="&lt;me&gt;"/>
  186.             </if>
  187.             <if spelltargettype="NONE" validtarget="*Self*">
  188.                 <action type="changetarget" target="&lt;me&gt;"/>
  189.             </if>
  190.         </if>
  191.         <if spell="Call Wyvern">
  192.             <if advanced="(&quot;$LuzRing&quot;==&quot;0&quot;)">
  193.                 <action type="var" cmd="set LuzRing 1"/>
  194.                 <action type="addtochat" color="205">Luzaf Ring Activated!</action>
  195.             </if>
  196.             <else>
  197.                 <action type="var" cmd="set LuzRing 0"/>
  198.                 <action type="addtochat" color="205">Luzaf Ring Deactivated!</action>
  199.             </else>
  200.             <action type="cancelspell"/>
  201.             <action type="return"/>
  202.         </if>
  203.         <if spell="Diffusion">
  204.             <action type="var" cmd="set LastRoll None"/>
  205.             <action type="cancelspell"/>
  206.             <action type="return"/>
  207.         </if>
  208.         <action type="command" when="Idle">sc set Idle;</action>
  209.         <action type="command" when="Engaged">sc set Engaged;</action>
  210.         <action type="command" when="Resting">sc set Rest;</action>
  211.         <if equipammo="$MaxBullet">
  212.             <if notspell="Fire Shot|Ice Shot|Thunder Shot|Water Shot|Wind Shot|Earth Shot|Dark Shot|Light Shot">
  213.                 <action type="addtochat" color="205">Action Canceled - $MaxBullet Equipped</action>
  214.                 <action type="cancelspell"/>
  215.                 <action type="equip" when="precast" set="%Status"/>
  216.                 <action type="return"/>
  217.             </if>
  218.         </if>
  219.         <if spell="Ranged">
  220.             <if buffactive="Barrage">
  221.                 <action type="equip" when="precast" set="RangeAcc"/>
  222.             </if>
  223.             <else>
  224.                 <action type="equip" when="precast" set="RangeFight"/>
  225.             </else>
  226.             <action type="aftercastdelay" delay="8"/>
  227.         </if>
  228.         <if commandprefix="/ws|/weaponskill">
  229.             <if spell="Wildfire|RangeWSWildfireOut">
  230.                 <if notbuffactive="Visitant">
  231.                     <action type="equip" when="precast" set="RangeWSWildfireOut"/>
  232.                 </if>
  233.                 <else>
  234.                     <action type="equip" when="precast" set="RangeWSWildfireIn"/>
  235.                 </else>
  236.             </if>
  237.             <else>
  238.                 <action type="equip" when="precast" set="RangeFight"/>
  239.             </else>
  240.         </if>
  241.         <if commandprefix="/ja|/jobability">
  242.             <if spell="*Roll|Double-Up|Snake Eye|Fold|Random Deal">
  243.                 <if advanced="(&quot;$LuzRing&quot;==&quot;1&quot;)">
  244.                     <action type="equip" when="precast" set="Luzaf"/>
  245.                     <action type="var" cmd="set LuzRing 1"/>
  246.                 </if>
  247.                 <if spell="*Roll">
  248.                     <action type="var" cmd="set LastRoll %Spell"/>
  249.                     <action type="var" cmd="set Double-UpLucky $%SpellLucky"/>
  250.                     <action type="var" cmd="set Double-UpUnlucky $%SpellUnlucky"/>
  251.                     <action type="command">input /echo \x1F\xCD%Spell - Lucky: \x1F\xCF$%SpellLucky \x1F\xCD - Unlucky:  \x1F\x03$%SpellUnlucky;</action>
  252.                     <if advanced="(&quot;$LuzRing&quot;==&quot;1&quot;)">
  253.                         <action type="var" cmd="set LuzRing 0"/>
  254.                         <action type="addtochat" color="205">Luzaf Ring Deactivated!</action>
  255.                     </if>
  256.                 </if>
  257.                 <if spell="Double-Up">
  258.                     <action type="command">input /echo \x1F\xCD$LastRoll - Lucky: \x1F\xCF$%SpellLucky \x1F\xCD - Unlucky:  \x1F\x03$%SpellUnlucky;</action>
  259.                     <if advanced="(&quot;$LuzRing&quot;==&quot;1&quot;)">
  260.                         <action type="var" cmd="set LuzRing 0"/>
  261.                         <action type="addtochat" color="205">Luzaf Ring Deactivated!</action>
  262.                     </if>
  263.                 </if>
  264.                 <if spell="Snake Eye">
  265.                     <action type="equip" when="precast" set="SnakeEye"/>
  266.                 </if>
  267.                 <if spell="Courser's Roll">
  268.                     <action type="equip" when="precast" set="CoursersRoll"/>
  269.                 </if>
  270.                 <elseif spell="Tactician's Roll">
  271.                     <action type="equip" when="precast" set="TacticiansRoll"/>
  272.                 </elseif>
  273.                 <elseif spell="Allies' Roll">
  274.                     <action type="equip" when="precast" set="AlliesRoll"/>
  275.                 </elseif>
  276.                 <elseif spell="Blitzer's Roll">
  277.                     <action type="equip" when="precast" set="BlitzersRoll"/>
  278.                 </elseif>
  279.                 <elseif spell="Caster's Roll">
  280.                     <action type="equip" when="precast" set="CastersRoll"/>
  281.                 </elseif>
  282.                 <elseif spell="Random Deal">
  283.                     <action type="equip" when="precast" set="RandomDeal"/>
  284.                 </elseif>
  285.                 <else>
  286.                     <action type="equip" when="precast" set="RollOverride"/>
  287.                 </else>
  288.                 <action type="aftercastdelay" delay=".5"/>
  289.             </if>
  290.             <if spell="Triple Shot">
  291.                 <action type="equip" when="precast" set="TripleShot"/>
  292.             </if>
  293.             <if spell="*Shot" notspell="Triple Shot">
  294.                 <if spell="Dark Shot|Light Shot">
  295.                     <action type="equip" when="precast" set="QuickDrawAcc"/>
  296.                 </if>
  297.                 <else>
  298.                     <action type="equip" when="precast" set="QuickDraw"/>
  299.                 </else>
  300.             </if>
  301.             <if spell="Shadowbind">
  302.                 <action type="equip" when="precast" set="Shadowbind"/>
  303.             </if>
  304.         </if>
  305.         <if commandprefix="/ma|/magic|/nin|/ninjutsu" notspell="Teleport*|Warp*|*Raise*">
  306.             <action type="equip" when="precast" set="Magic"/>
  307.             <if skill="EnhancingMagic">
  308.                 <if spell="Stoneskin">
  309.                     <action type="midcastdelay" delay="4.5"/>
  310.                     <action type="command" when="midcast">cancel 37</action>
  311.                 </if>
  312.             </if>
  313.             <if spell="Utsusemi*Ichi">
  314.                 <action type="midcastdelay" delay="2.6"/>
  315.                 <action type="command" when="midcast">cancel 66</action>
  316.             </if>
  317.         </if>
  318.         <action type="equip" when="aftercast" set="%Status"/>
  319.     </rules>
  320. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement