Skip to content

Commit

Permalink
update:
Browse files Browse the repository at this point in the history
- need some test commands
  • Loading branch information
sinaris committed Sep 17, 2012
1 parent 20df1aa commit 3723a34
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion AsphyxiaUI/Core/Commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,45 @@
-- Description: AsphyxiaUI, Editied Tukui Layout
---------------------------------------------------------------------------------------------

local S, C, L, G = unpack( Tukui )
local S, C, L, G = unpack( Tukui )

local AsphyxiaUITest = AsphyxiaUITest or function() end
AsphyxiaUITest = function( msg )
if( msg == "uf" or msg == "unitframes" ) then
_G["TukuiTarget"]:Show()
_G["TukuiTarget"].Hide = function() end
_G["TukuiTarget"].unit = "player"

_G["TukuiTargetTarget"]:Show()
_G["TukuiTargetTarget"].Hide = function() end
_G["TukuiTargetTarget"].unit = "player"

_G["TukuiFocus"]:Show()
_G["TukuiFocus"].Hide = function() end
_G["TukuiFocus"].unit = "player"

_G["TukuiFocusTarget"]:Show()
_G["TukuiFocusTarget"].Hide = function() end
_G["TukuiFocusTarget"].unit = "player"

_G["TukuiPet"]:Show()
_G["TukuiPet"].Hide = function() end
_G["TukuiPet"].unit = "player"
elseif( msg == "a" or msg == "arena" ) then
for i = 1, 3 do
_G["TukuiArena" .. i]:Show()
_G["TukuiArena" .. i].Hide = function() end
_G["TukuiArena" .. i].unit = "player"
_G["TukuiArena" .. i].Trinket.Icon:SetTexture( "Interface\\Icons\\INV_Jewelry_Necklace_37" )
end
elseif( msg == "b" or msg == "boss" ) then
for i = 1, 3 do
_G["TukuiBoss" .. i]:Show()
_G["TukuiBoss" .. i].Hide = function() end
_G["TukuiBoss" .. i].unit = "player"
end
end
end

SlashCmdList.AsphyxiaUITest = AsphyxiaUITest
SLASH_AsphyxiaUITest1 = "/atest"

0 comments on commit 3723a34

Please sign in to comment.