sanriku

liquid_nin

Dec 6th, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.76 KB | None | 0 0
  1. <spellcast>
  2.     <config RequireVersion="2.40" debug="false" showgearswaps="false" quickcommands="true" showspellinfo="false" />
  3.     <sets>
  4.         <group name="Accuracy" default="yes">
  5.             <set name="Engaged">
  6.                 <ammo>Qirmiz Tathlum</ammo>
  7.                 <head>Aurore Beret</head>
  8.                 <neck>Chiv Chain</neck>
  9.                 <lear>Brutal earring</lear>
  10.                 <rear>Kemas earring</rear>
  11.                 <body>Aurore Doublet</body>
  12.                 <hands>Aurore Gloves</hands>
  13.                 <lring>Epona's ring</lring>
  14.                 <rring>Rajas ring</rring>
  15.                 <back>Atheling mantle</back>
  16.                 <waist>Twilight belt</waist>
  17.                 <legs>Aurore Brais</legs>
  18.                 <feet>Ballerines</feet>
  19.             </set>
  20.             <set name="Idle">
  21.                 <feet>Danzo sun-ate</feet>
  22.             </set>
  23.             <set name="Weaponskill" Baseset="Engaged">
  24.                 <head>Aias Bonnet</head>
  25.                 <rear>Centarus earring</rear>
  26.                 <hands>Iga Tekko +1</hands>
  27.                 <waist>Warwolf belt</waist>
  28.                 <feet>Rutter sabatons</feet>
  29.             </set>
  30.              
  31.         </group>
  32.  
  33.         <group name="Evasion" inherit="Accuracy">
  34.             <set name="Engaged" baseset="Engaged">
  35.                 <head>Emporer hairpin</head>
  36.                 <neck>Evasion torque</neck>
  37.                 <lear>Elusive earring</lear>
  38.                 <rear>Dodge earring</rear>
  39.                 <body>Scorpion Harness</body>
  40.                 <hands>Slither gloves</hands>
  41.                 <back>Corpse cape</back>
  42.                 <feet>Ballerines</feet>
  43.             </set>
  44.             <set name="Idle" baseset="Idle">
  45.                 <head>Emporer hairpin</head>
  46.                 <neck>Evasion torque</neck>
  47.                 <lear>Elusive earring</lear>
  48.                 <rear>Dodge earring</rear>
  49.                 <body>Scorpion Harness</body>
  50.                 <hands>Slither gloves</hands>
  51.                 <back>Corpse cape</back>
  52.                 <feet>Ballerines</feet>
  53.             </set>
  54.         </group>       
  55.     </sets>
  56.  
  57.     <rules>
  58.         <if status="engaged">
  59.             <action type="equip" when="Engaged|aftercast" set="%group-%status" />
  60.         </if>
  61.         <if notstatus="engaged">
  62.             <action type="equip" when="Idle|aftercast" set="%group-%status" />
  63.         </if>
  64.         <if status = "dead">
  65.             <cancelspell />
  66.             <return />
  67.         </if>
  68.         <!--Rules to stop parsing if you can't perform an action-->
  69.         <if BuffActive="Sleep|Petrification|Stun|Terror|Charm">
  70.             <return/>
  71.         </if>
  72.         <elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence">
  73.             <return/>
  74.         </elseif>
  75.         <elseif Type="Weaponskill|JobAbility|PetCommand" BuffActive="Amnesia">
  76.             <cancelspell/>
  77.             <return/>
  78.         </elseif>
  79.         <if type="Ninjutsu|*Magic">
  80.             <if spell="Utsusemi: Ichi">
  81.                 <defaulttarget target="&ltme&gt" />
  82.                 <castdelay delay=".2" />
  83.                 <equip when="precast" set="Evasion-Engaged" />
  84.                 <!-- The next 4 lines are used to cancel shadows incase you have Ni active -->
  85.                 <!-- 66 is for 1 shadow, 446 is for 2 shadows, 445 is if you  have 3 shadows active -->
  86.                 <!-- No way to program Spellcast to discern if Ichi or Ni is active, deal with it -->
  87.                 <midcastdelay delay="2.5" />
  88.                 <command when="midcast">cancel 66</command>
  89.                 <command when="midcast">cancel 444</command>
  90.                 <command when="midcast">cancel 445</command>
  91.                 <equip when="aftercast" set="%group-%status" />
  92.             </if>
  93.             <elseif spell="Utsusemi: Ni">
  94.                 <defaulttarget target="&lt;me&gt;" />
  95.                 <castdelay delay=".2" />
  96.                 <equip when="precast" set="Utsusemi" />
  97.                 <equip when="aftercast" set="%group-%status" />
  98.             </elseif>
  99.         </if>
  100.         <elseif Spell="Sneak|Invisible">
  101.             <action type="midcastdelay" delay="1.5" />
  102.             <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="&lt;me&gt;" OR ("%target"="%PlayerName" AND "%SpellTarget"="&lt;t&gt;")'>
  103.                 <action type="command" when="midcast">cancel 71</action>
  104.             </if>
  105.         </elseif>
  106.         <elseif Spell="Spectral Jig">
  107.             <action Type="Command" When="PreCast">cancel 71</action>
  108.         </elseif>
  109.         <if Type="WeaponSkill">
  110.             <if Mode="OR" BuffActive="Amnesia|Sleep|Stun|Terror" TPLT="100">
  111.                 <!-- Cancel WS if unable to cast -->
  112.                 <action Type="CancelSpell" />
  113.                 <action type="Return"/>
  114.             </if>
  115.             <if Spell="Wasp Sting|Viper Bite|Shadowstitch|Gust Slash|Cyclone|Energy Steal|Energy Drain|Evisceration|Aeolian Edge|Blade: Rin|Blade: Retsu|Blade: Ten|Blade: Jin|Blade: Ku">
  116.             <!-- STR DEX -->
  117.                 <action type="equip" when="precast" set="Weaponskill" />
  118.                 <!-- if Spell="Evisceration|Blade: Rin|Blade: Ku"><action type="equip" when="precast"><neck>Light Gorget</neck></action></if -->
  119.                 <!-- elseif Spell="Dancing Edge|Blade: Retsu|Blade: Ten|Blade: Hi"><action type="equip" when="precast"><neck>Soil Gorget</neck></action></elseif -->
  120.                 <equip when="aftercast" set="%group-%status" />
  121.             </if>
  122.             <if Spell="Blade: Teki|Blade: To|Blade: Chi|Blade: Kamu|Blade: Ei|Blade: Yu">
  123.             <!-- STR DEX INT -->
  124.                 <!-- action type="equip" when="precast" set="WSint" / -->
  125.                 <!-- if Spell="Blade: Chi"><action type="equip" when="precast"><neck>Light Gorget</neck></action></if -->
  126.                 <equip when="aftercast" set="%group-%status" />
  127.             </if>
  128.         </if>
  129.     </rules>
  130. </spellcast>
  131.  
  132.  
Advertisement
Add Comment
Please, Sign In to add comment