JSHidaka

SubliExample

May 8th, 2014
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. function precast(spell,action)
  2.     if spell.name == 'Sublimation' and not buffactive['Sublimation: Complete'] and not buffactive['Sublimation: Activated'] then
  3.         --equip sublimation idle gear
  4.     end
  5. end
  6.  
  7. function aftercast(spell,action)
  8.     if spell.name == 'Sublimation' then
  9.         return -- No gearswap stay on you first swap you did when activated Sublimation
  10.     else -- for any other action but sublimation
  11.         if buffactive.['Sublimation: Activated'] then
  12.             --equip sublimation idle gear
  13.         else
  14.             --equip normal idle
  15.         end
  16.     end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment