/
local disable_delayed_swaps = nil -- temporary. change nil to 1 to stop attempting to delay set swaps while casting |
local _ |
ItemRack.Version = "3.05" |
ItemRack.Version = "3.06" |
ItemRackUser = { |
Sets = {}, -- user's sets |
function ItemRack.OnCastingStart(self,event,unit) |
if unit=="player" then |
local _,_,_,_,startTime,endTime = UnitCastingInfo("player") |
local _,_,_,startTime,endTime = UnitCastingInfo("player") |
if endTime-startTime>0 then |
ItemRack.NowCasting = 1 |
end |
function ItemRack.IsPlayerReallyDead() |
local dead = UnitIsDeadOrGhost("player") |
if select(2,UnitClass("player"))=="HUNTER" then |
if GetLocale()=="enUS" and UnitAura("player","Feign Death") then |
if GetLocale()=="enUS" and AuraUtil.FindAuraByName("Feign Death", "player") then |
return nil |
else |
for i=1,24 do |
if select(3,UnitBuff("player",i))=="Interface\\Icons\\Ability_Rogue_FeignDeath" then |
for i=1,40 do |
if select(2,UnitBuff("player",i))==GetFileIDFromPath("Interface\\Icons\\Ability_Rogue_FeignDeath") then |
return nil |
end |
end |
## Interface: 70300 |
## Interface: 80000 |
## Title: ItemRack |
## Author: Gello - Updated for WoW 4.0 by Kiki + Kharthus + Yewbacca |
## SavedVariables: ItemRackSettings, ItemRackItems, ItemRackEvents |
__ New in 3.06 - By Kharthus __ |
* Fixes for 8.0 patch |
__ New in 3.05 - By Kharthus __ |
* Fixes for off-hand artifact weapons (Thanks oscarucb) |