Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2015
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.91 KB | None | 0 0
  1.  
  2. -- For any of elemental abilityIds, use the base abilityId that is
  3. -- visible in the skill window
  4. local ImpulseSkillIdTable = {
  5.     [42957]     = 42957,        -- Impulse (no staff)
  6.     [42958]     = 42957,        -- Fire Impulse
  7.     [42960]     = 42957,        -- shock Impulse
  8.     [42959]     = 42957,        -- frost ring
  9.    
  10.     [42976]     = 42975,        -- fire ring
  11.     [42978]     = 42975,        -- frost ring
  12.     [42980]     = 42975,        -- lightning ring
  13.     [42975]     = 42975,        -- elemental ring (no staff)
  14.    
  15.     [42997]     = 42996,        -- flame pulsar
  16.     [42999]     = 42996,        -- frost pulsar
  17.     [43001]     = 42996,        -- Storm pulsar
  18.     [42996]     = 42996,        -- pulsar (no staff)
  19. }
  20.  
  21.  
  22. _addon.ABT.saveSet = function( idx )
  23.    ...
  24.     for slotNum = ACTION_BAR_FIRST_NORMAL_SLOT_INDEX+1, ACTION_BAR_ULTIMATE_SLOT_INDEX+1 do
  25.         if IsSlotUsed(slotNum) then
  26.             local slotAbilityId = GetSlotBoundId(slotNum)
  27.            
  28.             -- add this line           
  29.             slotAbilityId = ImpulseSkillIdTable[slotAbilityId] or slotAbilityId
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement