Advertisement
Lightvision

Lightvision Samurai

Mar 20th, 2012
1,674
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.97 KB | None | 0 0
  1. <!-- This Spellcast file is for Samurai to cover as much as possible with the gear sets i have -->
  2. <!-- these sets are currently built around a 2 Great Katana delay's, these delay's are:-       -->
  3. <!-- * 437 Delay - Masamune/Amanomurakumo/Ame-no-ohabari                                       -->
  4. <!-- * 450 Delay - Mythic/Other 450 delay weapons                                              -->
  5. <!-- * 464 Delay - Kantonotati (TP Bonus +100)                                                 -->
  6. <!-- * 480 Delay - Kikugosaku/Ishikirimaru                                                     -->
  7.  
  8. <!-- Credits go to: Lightvision as the author of this file                                     -->
  9. <!-- PLEASE NOTE: * addtochat plugin is required for this XML to work properly                 -->
  10. <!--              * Sets do not use Bullwhip belt as i perfer not to use it, if you prefer to  -->
  11. <!--                use Bullwhip Belt then Find "Phasmida" and Replace with "Bullwhip"         -->
  12.  
  13. <spellcast xmlns:xi = "http://www/w3.org/2001/XInclude">
  14.  
  15.     <config RequireVersion="2.3" Debug="true" HideErrors="false" ShowGearSwaps="false" />  
  16.     <sets>
  17.         <group default="yes" name="MainGearSet">
  18.             <!-- This is the base TP/Idle gear set -->
  19.             <!-- to be used with all delay weapons -->
  20.             <set name="Main" load="yes">
  21.                 <sub>Pole Grip</sub>
  22.                 <ammo>Hagneia Stone</ammo>
  23.                 <head>Zelus Tiara</head>
  24.                 <neck>Unkai Nodowa</neck>
  25.                 <lear>Brutal Earring</lear>
  26.                 <rear>Bushinomimi</rear>
  27.                 <body>Unkai Domaru +2</body>
  28.                 <hands>Brego Gloves</hands>
  29.                 <lring>Rajas Ring</lring>
  30.                 <rring>Tyrant's Ring</rring>
  31.                 <waist>Phasmida Belt</waist>
  32.                 <legs>Unkai Haidate +2</legs>
  33.             </set>
  34.            
  35.             <!-- These items are used for TP set if you have your -->
  36.             <!-- specified 464 delay Weapon equipped -->
  37.             <set name="437_Norm" Baseset="Main">
  38.                 <sub>Rose Strap</sub>
  39.                 <back>Misuuchi Kappa</back>
  40.                 <feet>Usukane Sune-ate</feet>
  41.             </set>
  42.            
  43.             <!-- These items are used for TP set if you have your -->
  44.             <!-- specified Relic Weapon equipped and Aftermath up -->
  45.             <set name="Relic_AM" baseset="Main">
  46.                 <sub>Rose Strap</sub>
  47.                 <ammo>Hagneia Stone</ammo>
  48.                 <back>Atheling Mantle</back>
  49.                 <feet>Ace's Leggings</feet>
  50.             </set>
  51.            
  52.             <!-- These items are used for TP set if you have your  -->
  53.             <!-- specified 450 delay Weapon equipped -->
  54.             <set name="450" Baseset="Main">
  55.                 <sub>Pole Grip</sub>
  56.                 <ammo>Hagneia Stone</ammo>
  57.                 <back>Misuuchi Mantle</back>
  58.                 <feet>Ace's Leggings</feet>
  59.             </set>
  60.            
  61.             <!-- These items are used for TP set if you have your -->
  62.             <!-- specified 464 delay Weapon equipped -->
  63.             <set name="464" Baseset="Main">
  64.                 <sub>Pole Grip</sub>
  65.                 <ammo>Thew Bomblet</ammo>
  66.                 <body>Usukane Haramaki</body>
  67.                 <back>Atheling Mantle</back>
  68.                 <feet>Ace's Leggings</feet>
  69.             </set>
  70.            
  71.             <!-- These items are used for TP set if you have your -->
  72.             <!-- specified 480 delay Weapon equipped -->
  73.             <set name="480" Baseset="Main">
  74.                 <sub>Pole Grip</sub>
  75.                 <ammo>Thew Bomblet</ammo>
  76.                 <body>Usukane Haramaki</body>
  77.                 <back>Atheling Mantle</back>
  78.                 <feet>Ace's Leggings</feet>
  79.             </set>
  80.            
  81.             <!-- This is the base Weapon Skill gear set -->
  82.             <!-- to be used with all Weapon skills -->
  83.             <set name="WS">
  84.                 <ammo>Thew Bomblet</ammo>
  85.                 <head>Mekira-oto</head>
  86.                 <lear>Brutal Earring</lear>
  87.                 <rear>Bushinomimi</rear>
  88.                 <body>Fazheluo Mail +1</body>
  89.                 <hands>Heafoc Mitts</hands>
  90.                 <lring>Rajas Ring</lring>
  91.                 <rring>Pyrosoul Ring</rring>
  92.                 <back>Atheling Mantle</back>
  93.                 <legs>Unkai Haidate +2</legs>
  94.                 <feet>Unkai Sune-ate +2</feet>
  95.             </set>
  96.            
  97.             <!-- These items are used for Shoha and Rana with the set named "WS" -->
  98.             <!-- this was made as a set since it Shoha and Rani are multi hit    -->
  99.             <!-- and both share the same elemental Gorget and Belt               -->
  100.             <set name = "Multihit" baseset="WS">
  101.                 <neck>Shadow Gorget</neck>
  102.                 <hands>Unkai Kote +2</hands>
  103.                 <back>Unkai Sugemino</back>
  104.                 <waist>Shadow Belt</waist>
  105.             </set>
  106.            
  107.             <!-- These items are used for Fudo with the set named "WS" -->
  108.             <set name="FudoKaiten" baseset="WS">
  109.                 <neck>Lacono Necklace</neck>
  110.                 <back>Unkai Sugemino</back>
  111.                 <waist>Beir Belt</waist>
  112.             </set>
  113.            
  114.             <!-- These items are used elemental WSs with the set named "WS" -->
  115.             <!-- elemental gorgets and belts are started in the rules -->
  116.             <set name="ElementWS" Baseset="WS">
  117.                 <neck>Stoicheion Medal</neck>
  118.                 <lear>Moldavite Earring</lear>
  119.                 <rear>Hecate's Earring</rear>
  120.                 <lring>Demon's Ring</lring>
  121.                 <back>Unkai Sugemino</back>
  122.             </set>
  123.            
  124.         </group>
  125.     </sets>
  126.    
  127. <!--Variables-->
  128.     <variables>
  129.         <var name="empyrean">Masamune</var>
  130.         <var name="relic">Amanomurakumo</var>
  131.         <var name="437delay">Ame-no-ohabari</var>
  132.         <var name="450delay">Kogarasumaru</var>
  133.         <var name="464delay">Kantonotachi</var>
  134.         <var name="480delay">Kikugosaku</var>
  135.     </variables>
  136.        
  137.     <rules>
  138.         <!-- Rules to stop parsing if you can't perform an action-->
  139.         <if BuffActive="Sleep|Petrification|Stun|Terror">
  140.             <return/>
  141.         </if>
  142.         <elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence">
  143.             <return/>
  144.         </elseif>
  145.         <elseif Type="Weaponskill|JobAbility|PetCommand" BuffActive="Amnesia">
  146.             <cancelspell/>
  147.             <return/>
  148.         </elseif>
  149.        
  150.        
  151. <!-- START OF ENGAGED RULES -->
  152.         <if status="engaged">
  153.             <!-- Masamune/Amanomurakumo -->
  154.             <if EquipMain="$empyrean|437delay">
  155.                 <action type="equip" when="engaged|aftercast" set="437_Norm" />
  156.             </if>
  157.             <elseif EquipMain="$relic">
  158.                 <if BuffActive="Aftermath">
  159.                     <action type="equip" when="engaged|aftercast" set="Relic_AM" />
  160.                 </if>
  161.                 <else>
  162.                     <action type="equip" when="engaged|aftercast" set="437_Norm" />
  163.                 </else>
  164.             </elseif>
  165.            
  166.             <!-- Mythic/Other 450 Delay weapons -->
  167.             <elseif EquipMain="$450delay">
  168.                 <action type="equip" when="engaged|aftercast" set="450" />
  169.             </elseif>
  170.            
  171.             <!-- Kantonotachi -->
  172.             <elseif EquipMain="$464delay">
  173.                 <action type="equip" when="engaged|aftercast" set="464" />
  174.             </elseif>
  175.            
  176.             <!-- Kantonotachi -->
  177.             <elseif EquipMain="$480delay">
  178.                 <action type="equip" when="engaged|aftercast" set="480" />
  179.             </elseif>
  180.        </if>
  181. <!-- END OF ENGAGED RULES -->
  182.  
  183. <!-- START OF IDLE RULES -->       
  184.         <if status="idle">
  185.             <!-- Masamune/Amanomurakumo Idle Set -->
  186.             <if EquipMain="$empyrean|$relic|437delay">
  187.                 <equip when="idle|aftercast" set="437_Norm">
  188.                     <feet>Danzo Sune-ate</feet>
  189.                 </equip>
  190.             </if>
  191.            
  192.             <!-- 450 Delay Weapons Idle Set -->
  193.             <elseif EquipMain="$450delay">
  194.                 <equip when="idle|aftercast" set="450">
  195.                     <feet>Danzo Sune-ate</feet>
  196.                 </equip>
  197.             </elseif>
  198.             <!-- 464 Delay Weapons Idle Set -->
  199.             <elseif EquipMain="$464delay">
  200.                 <equip when="idle|aftercast" set="464">
  201.                     <feet>Danzo Sune-ate</feet>
  202.                 </equip>
  203.             </elseif>
  204.             <!-- 480 Delay weapons Idle Set -->
  205.             <elseif EquipMain="$464delay">
  206.                 <equip when="idle|aftercast" set="480">
  207.                     <feet>Danzo Sune-ate</feet>
  208.                 </equip>
  209.             </elseif>
  210.         </if>
  211. <!-- END OF IDLE RULES -->
  212.        
  213. <!-- START OF WEAPONSKILL RULES -->
  214.         <if type="WeaponSkill">
  215.             <!-- Stops weapon skill from happening if the target is greater than 5 yalms away -->
  216.             <!-- This will prevent you loosing TP when you are "out of range" from the target -->
  217.             <if SpellTargetDistanceGT="5">
  218.                     <addtochat color="121">Target is too far away. Stopping Weapon Skill.</addtochat>
  219.                     <cancelspell />
  220.                     <return />
  221.             </if>
  222.            
  223.             <!-- Shoha and Rana WS Rule -->
  224.             <if spell="*Shoha|*Rana">
  225.                 <action type="equip" when="precast" set="Multihit" />
  226.             </if>
  227.            
  228.             <!-- Since the rest are single hit WSs (except Jinpu) they require a change -->
  229.             <!-- to the hands slot, if Sekkanoki is up then Unkai Kote +2 are equipt    -->
  230.             <!-- If Sekkanoki is not up then Heafoc Mitts are equipt -->
  231.             <if BuffActive="Sekkanoki">
  232.                 <if spell="*Fudo|*Kaiten">
  233.                     <equip when="precast" set="FudoKaiten">
  234.                         <hands>Unkai Kote +2</hands>
  235.                     </equip>
  236.                 </if>
  237.                 <if spell="*Gekko|*Hobaku|*Yukikaze">
  238.                     <equip when="precast" set="WS">
  239.                         <neck>Snow Gorget</neck>
  240.                         <hands>Unkai Kote +2</hands>
  241.                         <waist>Snow Belt</waist>
  242.                     </equip>
  243.                 </if>
  244.                 <if spell="*Kasha|*Enpi|*Goten">
  245.                     <equip when="precast" set="WS">
  246.                         <neck>Light Gorget</neck>
  247.                         <hands>Unkai Kote +2</hands>
  248.                         <waist>Light Belt</waist>
  249.                     </equip>
  250.                 </if>
  251.                 <if spell="*Koki">
  252.                     <equip when="precast" set="ElementWS">
  253.                         <hands>Unkai Kote +2</hands>
  254.                         <waist>Light Belt</waist>
  255.                     </equip>
  256.                 </if>
  257.                 <if spell="*Jinpu">
  258.                     <equip when="precast" set="ElementWS">
  259.                         <hands>Unkai Kote +2</hands>
  260.                         <waist>Shadow Belt</waist>
  261.                     </equip>
  262.                 </if>
  263.                 <if spell="*Ageha">
  264.                     <equip when="precast" set="WS">
  265.                         <head>Twilight Helm</head>
  266.                         <neck>Shadow Gorget</neck>
  267.                         <body>Twilight Mail</body>
  268.                         <hands>Unkai Kote +2</hands>
  269.                         <waist>Shadow Belt</waist>
  270.                     </equip>
  271.                 </if>
  272.             </if>  
  273.             <elseif notbuffactive="Sekkanoki">
  274.                 <if spell="*Fudo|*Kaiten">
  275.                     <action type="equip" when="precast" set="FudoKaiten" />
  276.                 </if>
  277.                
  278.                 <if spell="*Kaiten">
  279.                     <action type="equip" when="precast" set="FudoKaiten" />
  280.                     <action type="equip" when="aftercast" set="Relic_AM" />
  281.                 </if>
  282.                
  283.                 <if spell="*Gekko|*Hobaku|*Yukikaze">
  284.                     <equip when="precast" set="WS">
  285.                         <neck>Snow Gorget</neck>
  286.                         <hands>Heafoc Mitts</hands>
  287.                         <waist>Shadow Belt</waist>
  288.                     </equip>
  289.                 </if>
  290.                 <if spell="*Kasha|*Enpi|*Goten">
  291.                     <equip when="precast" set="WS">
  292.                         <neck>Light Gorget</neck>
  293.                         <hands>Heafoc Mitts</hands>
  294.                         <waist>Light Belt</waist>
  295.                     </equip>
  296.                 </if>
  297.                 <if spell="*Koki">
  298.                     <equip when="precast" set="ElementWS">
  299.                         <hands>Unkai Kote +2</hands>
  300.                         <waist>Light Belt</waist>
  301.                     </equip>
  302.                 </if>
  303.                 <if spell="*Jinpu">
  304.                     <equip when="precast" set="ElementWS">
  305.                         <hands>Unkai Kote +2</hands>
  306.                         <waist>Shadow Belt</waist>
  307.                     </equip>
  308.                 </if>
  309.             </elseif>
  310.         </if>
  311. <!-- END OF WEAPONSKILL RULES -->
  312.  
  313. <!-- START OF ABILITY RULES -->
  314.         <if spell="Meditate">
  315.             <equip when="precast">
  316.                 <head>Myochin Kabuto</head>
  317.                 <hands>Sao. Kote +2</hands>
  318.             </equip>
  319.         </if>
  320.         <if spell="Warding Circle">
  321.             <equip when="precast">
  322.                 <head>Myochin Kabuto</head>
  323.             </equip>
  324.         </if>
  325.         <if spell="Sekkanoki">
  326.             <equip when="precast">
  327.                 <hands>Unkai Kote +2</hands>
  328.             </equip>
  329.         </if>
  330.         <if spell="Sengikori">
  331.             <equip when="precast">
  332.                 <hands>Unkai Sune-ate +2</hands>
  333.             </equip>
  334.         </if>
  335. <!-- END OF ABILITY RULES -->
  336.  
  337. <!-- Rules for when to equip twilight set at all times -->
  338.         <if mode="OR" Target="Arch Dynamis Lord" HPPLT="30" BuffActive="Doom|Weakness">
  339.             <if NotBuffActive="Perfect Defence">
  340.                 <equip when="all">
  341.                     <head>Twilight Helm</head>
  342.                     <body>Twilight Mail</body>
  343.                 </equip>
  344.                 <return/>
  345.             </if>
  346.         </if>
  347.     </rules>
  348. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement