forked from wow/OmicronFrames
update config for TBC shaman play
This commit is contained in:
1 parent
abeac379f3
commit
2a24e64554
1 file changed
+48
-20
+48
-20
@@ -21,6 +21,7 @@ local colors = {
|
||||
white = { 1.0, 1.0, 1.0 },
|
||||
orange = { 1.0, 0.5, 0 },
|
||||
violet = { 1.0, 0, 1.0 },
|
||||
yellow = { 1.0, 1.0, 0 },
|
||||
magic = { 0.4, 0.4, 1.0 },
|
||||
disease = { 0.4, 0.2, 0.0 },
|
||||
poison = { 0.0, 0.7, 0.7 },
|
||||
@@ -61,25 +62,41 @@ local function MouseConfig()
|
||||
button = "mouse2",
|
||||
mods = {},
|
||||
kind = "macro",
|
||||
data = "/use [@UNIT,dead,help]Ancestral Vision; [@UNIT,help]Chain Heal",
|
||||
data = "/use [@UNIT,dead,help]Ancestral Spirit; [@UNIT,help]Chain Heal",
|
||||
},
|
||||
{
|
||||
button = "mouse3",
|
||||
mods = {},
|
||||
kind = "macro",
|
||||
data = "/use [@UNIT,dead,help]Ancestral Spirit; [@UNIT,help]Purify Spirit",
|
||||
data = "/use [@UNIT,help]Cure Poison",
|
||||
},
|
||||
{
|
||||
button = "wheel-up",
|
||||
mods = {},
|
||||
kind = "macro",
|
||||
data = "/use [@UNIT,help]Healing Surge",
|
||||
data = "/use [@UNIT,help]Lesser Healing Wave",
|
||||
},
|
||||
{
|
||||
button = "wheel-down",
|
||||
mods = {},
|
||||
kind = "macro",
|
||||
data = "/use [@UNIT,help]Healing Wave",
|
||||
},
|
||||
{ button = "wheel-down", mods = {}, kind = "macro", data = "/use [@UNIT,help]Riptide" },
|
||||
|
||||
-- alt
|
||||
{ button = "wheel-up", mods = { alt = true }, kind = "spell", data = "Healing Wave" },
|
||||
{ button = "wheel-down", mods = { alt = true }, kind = "spell", data = "Earth Shield" },
|
||||
{
|
||||
button = "wheel-up",
|
||||
mods = { alt = true },
|
||||
kind = "macro",
|
||||
data = "/use [@UNIT,help,nodead]Nature's Swiftness\n/use [@UNIT,help]Healing Wave",
|
||||
},
|
||||
{
|
||||
button = "mouse3",
|
||||
mods = { alt = true },
|
||||
kind = "macro",
|
||||
data = "/use [@UNIT,help]Cure Disease",
|
||||
},
|
||||
|
||||
-- Shift
|
||||
{ button = "mouse2", mods = { shift = true }, kind = "togglemenu" },
|
||||
@@ -89,6 +106,12 @@ local function MouseConfig()
|
||||
kind = "macro",
|
||||
data = "/cast [@UNIT,help]Water Walking;\n/stopspelltarget",
|
||||
},
|
||||
{
|
||||
button = "wheel-down",
|
||||
mods = { shift = true },
|
||||
kind = "macro",
|
||||
data = "/use [@UNIT,help]Healing Wave(rank 1)",
|
||||
},
|
||||
}
|
||||
elseif class == "PRIEST" then
|
||||
return {
|
||||
@@ -259,7 +282,7 @@ local function TriggerClassConfig()
|
||||
return {
|
||||
{
|
||||
kind = "AuraTrigger",
|
||||
spellId = 383648,
|
||||
spellId = 32594,
|
||||
own = true, -- Second Earth Shield on yourself
|
||||
indicator = {
|
||||
kind = "SquareIndicator",
|
||||
@@ -273,29 +296,30 @@ local function TriggerClassConfig()
|
||||
},
|
||||
{
|
||||
kind = "AuraTrigger",
|
||||
spellId = 974,
|
||||
own = true, -- Second Earth Shield on yourself
|
||||
spellId = 29203,
|
||||
own = true, -- Healing Way
|
||||
indicator = {
|
||||
kind = "SquareIndicator",
|
||||
size = 17,
|
||||
point = "TOPLEFT",
|
||||
x = 3,
|
||||
x = 20,
|
||||
y = -3,
|
||||
color = colors.white,
|
||||
color = colors.yellow,
|
||||
showStacks = true,
|
||||
},
|
||||
},
|
||||
{
|
||||
kind = "AuraTrigger",
|
||||
spellId = 61295,
|
||||
own = true, -- Riptide
|
||||
spellId = 16237,
|
||||
own = true, -- Ancestral Fortitude
|
||||
indicator = {
|
||||
kind = "IconIndicator",
|
||||
kind = "SquareIndicator",
|
||||
size = 17,
|
||||
point = "BOTTOMLEFT",
|
||||
x = 3,
|
||||
y = 3,
|
||||
fadeTime = 10.0,
|
||||
point = "TOPLEFT",
|
||||
x = 40,
|
||||
y = -3,
|
||||
color = colors.orange,
|
||||
showStacks = false,
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -710,9 +734,13 @@ function CreatePartyFrames(left, top, config)
|
||||
local group = UnitGroup:new(left, top, width, height)
|
||||
local player = UnitFrame:new("player", config)
|
||||
group:AddUnitFrame(player)
|
||||
local pet = UnitFrame:new("pet", config)
|
||||
group:AddUnitFrame(pet)
|
||||
for i = 1, 4 do
|
||||
local frame = UnitFrame:new("party" .. i, config)
|
||||
group:AddUnitFrame(frame)
|
||||
local partypet = UnitFrame:new("partypet" .. i, config)
|
||||
group:AddUnitFrame(partypet)
|
||||
end
|
||||
group:Sort()
|
||||
end
|
||||
@@ -742,10 +770,10 @@ function CreateFrames()
|
||||
triggers = TriggerConfig(),
|
||||
}
|
||||
|
||||
CreatePartyFrames(-0.05, -290.05, config)
|
||||
CreatePartyFrames(-0.05, -240.05, config)
|
||||
config.hideInRaid = false
|
||||
CreateRaidFrames(-0.05, -290.05, config)
|
||||
CreateTargetFrames(110 * 3 + 50 - 0.05, -245.05, config)
|
||||
CreateRaidFrames(-0.05, -240.05, config)
|
||||
CreateTargetFrames(110 * 3 + 50 - 0.05, -240.05, config)
|
||||
HideBlizzardFrames()
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user