Quantcast

-- rFilter_Zork: cooldown
-- zork, 2016

-----------------------------
-- Variables
-----------------------------

local A, L = ...

----------------------------
-- 匹配oUF_Simple_Zork 布局
-- 大图标 5 个 36x36
-- 小图标 7 个 24x24
-- buff - debuff - cooldown
-- 相同法术可以重合
-- 做到类似WA或者TMW的效果
-- 加上间隔一共 220px
-- player: size = {265,26}, point = {"RIGHT",UIParent,"CENTER",-130,-210}, 110?
-- target: size = {265,26}, point = {"LEFT",UIParent,"CENTER",130,-210},  110?
----------------------------

----------------------------
-- ROGUE layout
-- change the spellids or
-- spec with ur own
----------------------------
if L.C.playerClass == "ROGUE" then
  -- 暗影之舞, row 1 col 1
  rFilter:CreateBuff(185313,"player",36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",8,0},"show",{0,1},true,nil)
  rFilter:CreateCooldown(185313,36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",8,0},"[combat]show;hide",{0.2,1},true)
  -- 切割, row 1 col 2
  rFilter:CreateBuff(315496,"player",36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",50,0},"show",{0,1},true,nil)
  -- rFilter:CreateCooldown(315496,36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",50,0},"[combat]show;hide",{1,1},true)
  -- 割裂, row 1 col 3
  rFilter:CreateDebuff(1943,"target",36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",92,0},"show",{0,1},true,"player")
  -- rFilter:CreateCooldown(3,36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",92,0},"show",{1,1},true)
  -- 盟约:狂热鞭策, row 1 col 4
  rFilter:CreateDebuff(323654,"target",36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",134,0},"show",{0,1},true,"player")
  rFilter:CreateCooldown(323654,36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",134,0},"[combat]show;hide",{0.2,1},true)
  -- 死亡符记, row 1 col 5 315496 212283
  rFilter:CreateBuff(212283,"player",36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",176,0},"show",{0,1},true,nil)
  rFilter:CreateCooldown(212283,36,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",176,0},"[combat]show;hide",{0.2,1},true)

  -- 斗篷, row 2 col 1
  rFilter:CreateBuff(31224,"player",24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",8,-42},"show",{0,1},true,nil)
  rFilter:CreateCooldown(31224,24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",8,-42},"[combat]show;hide",{0.2,1},true)
  -- 闪避, row 2 col 2
  rFilter:CreateBuff(5277,"player",24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",38,-42},"show",{0,1},true,nil)
  rFilter:CreateCooldown(5277,24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",38,-42},"[combat]show;hide",{0.2,1},true)
  -- 血瓶, row 2 col 3
  rFilter:CreateBuff(185311,"player",24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",68,-42},"show",{0,1},true,nil)
  rFilter:CreateCooldown(185311,24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",68,-42},"[combat]show;hide",{0.2,1},true)
  -- 暗影步, row 2 col 4
  rFilter:CreateBuff(36554,"player",24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",98,-42},"show",{0,1},true,nil)
  rFilter:CreateCooldown(36554,24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",98,-42},"[combat]show;hide",{0.2,1},true)
  -- 疾跑, row 2 col 5
  rFilter:CreateBuff(2983,"player",24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",128,-42},"show",{0,1},true,nil)
  rFilter:CreateCooldown(2983,24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",128,-42},"[combat]show;hide",{0.2,1},true)
  -- 嫁祸, row 2 col 6
  -- rFilter:CreateBuff(11,"player",24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",158,-42},"show",{0.2,1},true,nil)
  rFilter:CreateCooldown(57934,24,{"TOPLEFT",oUF_SimplePlayer, "TOPRIGHT",158,-42},"[combat]show;hide",{0.2,1},true)
  -- 致盲, row 2 col 7
  rFilter:CreateDebuff(2094,"target",24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",188,-42},"show",{0,1},true,nil)
  rFilter:CreateCooldown(2094,24,{"TOPLEFT",oUF_SimplePlayer,"TOPRIGHT",188,-42},"[combat]show;hide",{0.2,1},true)
end