<?xml version="1.0" ?>
<spellcast>
<config RequireVersion="2.22" />
<sets>
<group name="Sam">
<set name="Idle">
<main lock="yes">Hagun</main>
<sub lock="yes">Pole Grip</sub>
<head>Walahra Turban</head>
<neck>Chivalrous Chain</neck>
<lear>Bushinomimi</lear>
<rear>Brutal Earring</rear>
<body>Nuevo Coselete</body>
<hands>Hachiman Kote</hands>
<lring>Ulthalam's Ring</lring>
<rring>Rajas Ring</rring>
<back>Forager's Mantle</back>
<waist>Swift Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Fuma Sune-ate</feet>
</set>
<set name="Tachi: Gekko" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<neck>Snow Gorget</neck>
<body>Haubergeon</body>
<hands>Pallas's Bracelets</hands>
<lring>Flame Ring</lring>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Tachi: Kasha" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<body>Haubergeon</body>
<hands>Pallas's Bracelets</hands>
<lring>Flame Ring</lring>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Tachi: Rana" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<neck>Snow Gorget</neck>
<body>Haubergeon</body>
<hands>Myn. Kote +1</hands>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Tachi: Yukikaze" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<neck>Snow Gorget</neck>
<body>Haubergeon</body>
<hands>Pallas's Bracelets</hands>
<lring>Flame Ring</lring>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="ws" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<body>Haubergeon</body>
<hands>Myn. Kote +1</hands>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Meditate">
<head>Myochin Kabuto</head>
</set>
</group>
<group name="Soboro">
<set name="Idle">
<main lock="yes">Soboro Sukehiro</main>
<sub lock="yes">Platinum Grip +1</sub>
<head>Walahra Turban</head>
<neck>Chivalrous Chain</neck>
<lear>Bushinomimi</lear>
<rear>Fowling Earring</rear>
<body>Haubergeon</body>
<hands>Hachiman Kote</hands>
<lring>Ulthalam's Ring</lring>
<rring>Rajas Ring</rring>
<back>Forager's Mantle</back>
<waist>Swift Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Fuma Sune-ate</feet>
</set>
<set name="Tachi: Gekko" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<neck>Snow Gorget</neck>
<body>Haubergeon</body>
<hands>Pallas's Bracelets</hands>
<lring>Flame Ring</lring>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Tachi: Kasha" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<body>Haubergeon</body>
<hands>Pallas's Bracelets</hands>
<lring>Flame Ring</lring>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Tachi: Rana" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<neck>Snow Gorget</neck>
<body>Haubergeon</body>
<hands>Myn. Kote +1</hands>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Tachi: Yukikaze" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<neck>Snow Gorget</neck>
<body>Haubergeon</body>
<hands>Pallas's Bracelets</hands>
<lring>Flame Ring</lring>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="ws" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<body>Haubergeon</body>
<hands>Myn. Kote +1</hands>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Meditate">
<head>Myochin Kabuto</head>
</set>
</group>
<group name="plm">
<set name="Idle">
<main lock="yes">Engetsuto</main>
<sub lock="yes">Pole Grip</sub>
<head>Optical Hat</head>
<neck>Chivalrous Chain</neck>
<lear>Fowling Earring</lear>
<rear>Brutal Earring</rear>
<body>Nuevo Coselete</body>
<hands>Hachiman Kote</hands>
<lring>Ulthalam's Ring</lring>
<rring>Rajas Ring</rring>
<back>Forager's Mantle</back>
<waist>Swift Belt</waist>
<legs>Byakko's Haidate</legs>
<feet>Fuma Sune-ate</feet>
</set>
<set name="penta" BaseSet="idle">
<head>Shr.Znr.Kabuto</head>
<neck>Chivalrous Chain</neck>
<body>Haubergeon</body>
<hands>Myn. Kote +1</hands>
<waist>Warwolf Belt</waist>
<legs>Shura Haidate</legs>
<feet>Askar Gambieras</feet>
</set>
<set name="Meditate">
<head>Myochin Kabuto</head>
</set>
</group>
</sets>
<rules>
<if main="SAM">
<action type="equip" when="Idle" set="Idle" />
<if Spell="Meditate|Warding Circle">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="Meditate" />
<action type="Equip" when="Aftercast" set="idle" />
</if>
<if mode="And" CommandPrefix="/ws|/weaponskill" NotTPLT="100">
<if Spell="Tachi: Gekko">
<action type="castdelay" delay=".2" />
<action type="command" when="precast">input /echo [<%target>] 月 光 "The Eighth Style of the Tachi: 'Moonlight'" </action>
<action type="Equip" when="Precast" set="Tachi: Gekko" />
<action type="Equip" when="Aftercast" set="idle" />
</if>
<elseif Spell="Tachi: Kasha">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="Tachi: Kasha" />
<action type="command" when="precast">input /echo [<%target>] 花 車 "Ninth Style of the Tachi: 'Wheel of Flowers'" </action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Rana">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="Tachi: Rana" />
<action type="command" when="precast">input /echo [<%target>] 乱 鴉 "Tenth Sword: 'Crow of War'" </action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Yukikaze">
<action type="castdelay" delay=".2" />
<action type="command" when="precast">input /echo [<%target>] 雪 風 "The Seventh Style of the Tachi: 'Blizzard'" </action>
<action type="Equip" when="Precast" set="Tachi: Yukikaze" />
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Enpi">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="ws" />
<action type="command" when="precast">input /echo [<%target>] 燕 飛 "The First Style of the Tachi: 'The Swallow's Flight'"</action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Hobaku">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="Tachi: Rana" />
<action type="command" when="precast">input /echo [<%target>] 鋒 縛 "The Second Style of the Tachi: 'Binding Point'" </action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Goten">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="ws" />
<action type="command" when="precast">input /echo [<%target>] 轟 天 "The Third Style of the Tachi: 'Roaring Heavens'"</action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Kagero">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="ws" />
<action type="command" when="precast">input /echo [<%target>] 陽 炎 "The Fourth Style of the Tachi: 'Sunfire'"</action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Jinpu">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="ws" />
<action type="command" when="precast">input /echo [<%target>] 陣 風 "The Fifth Style of the Tachi: 'Gale'"</action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Tachi: Koki">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="ws" />
<action type="command" when="precast">input /echo [<%target>] 光 輝 "The Sixth Style of the Tachi: 'Radiant Light'" </action>
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
<elseif Spell="Penta Thrust">
<action type="castdelay" delay=".2" />
<action type="Equip" when="Precast" set="penta" />
<action type="Equip" when="Aftercast" set="idle" />
</elseif>
</if>
<else>
<!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
<if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
<action type="command" when="midcast">cancel 71</action>
<action type="midcastdelay" delay="1.8" />
</if>
<if spell="Utsusemi: Ichi" BuffActive="Copy Image">
<action type="midcastdelay" delay="3.0" />
<action type="Command" when="midcast">cancel 66</action>
</if>
<if spell="Monomi: Ichi">
<action type="midcastdelay" delay="2.5" />
<action type="Command" when="midcast">cancel 71</action>
</if>
</else>
</if>
</rules>
</spellcast>