WoWInterface SVN ItemRack

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 47 to Rev 48
    Reverse comparison

Rev 47 → Rev 48

trunk/ItemRack/ItemRackEquip.lua
6,6 → 6,28
 
ItemRack.SetsWaiting = {} -- numerically indexed table of {"setname",func} ie {"pvp",ItemRack.EquipSet}
 
-- Legion artifact items that act as two items
ItemRack.PhantomItem = {
[128293] = true, -- Blades of the Fallen Prince (frost death knight)
[127830] = true, -- Twinblades of the Deceiver (havoc demon hunter)
[128831] = true, -- Aldrachi Warblades (vengeance demon hunter)
[128859] = true, -- Fangs of Ashamane (feral druid)
[128822] = true, -- Claws of Ursoc (guardian druid)
[133959] = true, -- Heart of the Phoenix (fire mage)
[133948] = true, -- Fists of the Heavens (windwalker monk)
[128867] = true, -- Oathseeker (prot pally)
[133958] = true, -- Secrets of the Void (shadow priest)
[128869] = true, -- The Kingslayers (assassin rogue)
[134552] = true, -- The Dreadblades (outlaw rogue)
[128479] = true, -- Fangs of the Devourer (subtlety rogue)
[128936] = true, -- The Highkeeper's Ward (ele shaman)
[128873] = true, -- Fury of the Stonemother (enh shaman)
[128934] = true, -- Shield of the Sea Queen (resto shaman)
[128943] = true, -- Skull of the Man'ari (demo lock)
[134553] = true, -- Warswords of the Valarjar (fury warrior)
[128289] = true, -- Scale of the Earth-Warder (prot warrior)
}
 
function ItemRack.ProcessSetsWaiting()
local setwaiting = ItemRack.SetsWaiting[1][1]
local whichequip = ItemRack.SetsWaiting[1][2]
234,6 → 256,8
abort = 2
elseif SpellIsTargeting() then
abort = 3
elseif not fromSlot and ItemRack.PhantomItem[GetInventoryItemID("player",fromBag) or 1] then
return -- oscarucb: ignore swap requests on slots containing "phantom" artifact items
elseif (not fromSlot and IsInventoryItemLocked(fromBag)) or (not toSlot and IsInventoryItemLocked(toBag)) then
abort = 4
elseif (fromSlot and select(3,GetContainerItemInfo(fromBag,fromSlot))) or (toSlot and select(3,GetContainerItemInfo(toBag,toSlot))) then
trunk/ItemRack/change log.txt
1,3 → 1,7
__ New in 3.05 - By Kharthus __
 
* Fixes for off-hand artifact weapons (Thanks oscarucb)
 
__ New in 3.04 - By Kharthus __
 
* More fixes for PlaySound (missed the xml files)
trunk/ItemRack/ItemRack.lua
3,7 → 3,7
local disable_delayed_swaps = nil -- temporary. change nil to 1 to stop attempting to delay set swaps while casting
local _
 
ItemRack.Version = "3.04"
ItemRack.Version = "3.05"
 
ItemRackUser = {
Sets = {}, -- user's sets