Advertisement
TC24k

lolSAM

Nov 28th, 2011
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.13 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2.  
  3. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  4.     <config
  5.        RequireVersion="2.30"
  6.        debug="false"
  7.        />
  8.     <variables />
  9.    
  10.     <sets>
  11.         <group name="Main" default="yes">
  12.         <!-- If you use any Dusk, make sure you put the slot with remove: <slot>remove</slot>
  13.         If you use any Movement Speed+, add it like this: <slot>Item</slot> -->
  14.             <set name="Standard" BaseSet="TPGear">
  15.                 <hands>remove</hands>
  16.             </set>
  17.            
  18.            
  19.             <set name="TPGear">
  20.  
  21.             </set>
  22.            
  23.            
  24.             <set name="STRWS">
  25.  
  26.             </set>
  27.            
  28.            
  29.             <set name="Fudo">
  30.            
  31.             </set>
  32.            
  33.            
  34.             <set name="PolearmWS" />
  35.            
  36.             </set>
  37.         </group>
  38.     </sets>
  39.     <rules>
  40.         <!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
  41.         <equip when="Engaged" set="TPGear" />
  42.         <equip when="Idle" set="Standard" />
  43.        
  44.         <if mode="and" spell="Utsusemi*" status="engaged">
  45.             <equip when="precast" set="Haste" />
  46.             <addtochat color="121">Spell: %Spell - Haste gear equipped!</addtochat>
  47.             <equip when="aftercast" set="$GearType" />
  48.             <addtochat color="121" when="aftercast">TP Gear equipped!</addtochat>
  49.         </if>
  50.        
  51.         <if mode="and" spell="Utsusemi*" status="idle">
  52.             <equip when="precast" set="Haste" />
  53.             <addtochat color="121">Spell: %Spell - Haste gear equipped!</addtochat>
  54.             <equip when="aftercast" set="standard" />
  55.             <addtochat color="121" when="aftercast">Idle Gear equipped!</addtochat>
  56.         </if>
  57.        
  58.         <if type="Weaponskill">
  59.             <if mode="OR" TPLT="100" advanced='%SpellTargetDistance&gt;6' notstatus="engaged">
  60.                 <addtochat color="121">Too far away from target, not enough TP or not engaged. Cancelling WS</addtochat>
  61.                 <cancelspell/>
  62.                 <return />
  63.             </if>
  64.         </if>
  65.        
  66.         <if spell="Tachi*" notspell="Tachi: Fudo">
  67.             <equip set="STRWS" when="precast" />
  68.             <equip set="TPGear" when="aftercast" />
  69.         </if>
  70.  
  71.         <if spell="Tachi: Fudo">
  72.             <equip set="Fudo" when="precast" />
  73.             <equip set="TPGear" when="aftercast" />
  74.         </if>
  75.  
  76.        
  77.         <if spell="Penta Thrust">
  78.             <equip set="PolearmWS" when="precast" />
  79.             <equip set="TPGear" when="aftercast" />
  80.         </if>
  81.    
  82.         <if mode="and" Spell="Provoke" Target="Sturdy Pyxis">
  83.             <cancelspell />
  84.             <addtochat>Wrong target!</addtochat>
  85.         </if>
  86.  
  87.        
  88.         <if mode="and" Spell="Third Eye" notbuffactive="Seigan" MLvlGT="34">
  89.             <cancelspell />
  90.             <addtochat color="240">No Seigan Up! - Popping Seigan!</addtochat>
  91.             <command>input /ja "Seigan" &lt;me&gt;;wait 2.5;input /ja "Third Eye" &lt;me&gt;;</command>
  92.         </if>
  93.    
  94.    
  95.         <if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
  96.             <midcastdelay delay="3.0" />
  97.             <command when="midcast">cancel 66</command>
  98.         </if>
  99.         <if Spell="Sneak|Monomi*" BuffActive="Sneak" SpellTargetType="Self">
  100.             <command when="midcast">cancel 71</command>
  101.             <midcastdelay delay="1.8" />
  102.         </if>
  103.         <if Spell="Spectral Jig" BuffActive="Sneak" SpellTargetType="Self">
  104.             <command when="precast">cancel 71</command>
  105.         </if>
  106.        
  107.    
  108.     </rules>
  109. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement