diff --git a/MiniMage_TWOW.lua b/MiniMage_TWOW.lua index 28f1813..59bd6c1 100644 --- a/MiniMage_TWOW.lua +++ b/MiniMage_TWOW.lua @@ -140,6 +140,11 @@ function MM_DropDown_ForTheHorde() info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_HORDE1); end; UIDropDownMenu_AddButton(info); + info = { }; + info.text = MINIMAGE_LABEL_HORDE3; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_HORDE3); end; + UIDropDownMenu_AddButton(info); + info = { }; info.text = MINIMAGE_LABEL_HORDE2; info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_HORDE2); end; @@ -161,6 +166,11 @@ function MM_DropDown_ForTheHorde() info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_HORDE1); end; UIDropDownMenu_AddButton(info); + info = { }; + info.text = MINIMAGE_LABEL_HORDE3; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_HORDE3); end; + UIDropDownMenu_AddButton(info); + info = { }; info.text = MINIMAGE_LABEL_HORDE2; info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_HORDE2); end; @@ -175,6 +185,11 @@ function MM_DropDown_ForTheAlliance() info.isTitle = 1; info.notCheckable = 1; UIDropDownMenu_AddButton(info); + + info = { }; + info.text = MINIMAGE_LABEL_ALLIANCE3; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ALLIANCE3); end; + UIDropDownMenu_AddButton(info); info = { }; info.text = MINIMAGE_LABEL_ALLIANCE0; @@ -191,21 +206,17 @@ function MM_DropDown_ForTheAlliance() info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ALLIANCE2); end; UIDropDownMenu_AddButton(info); - -- Custom Portal: Alah'Thalas -local info = { } -info.text = "Alah'Thalas" -info.func = function(msg) - CastSpellByName("Portal: Alah'Thalas") -end -UIDropDownMenu_AddButton(info) - - info = { }; info.text = MINIMAGE_LABEL_TELEPORT; info.isTitle = 1; info.notCheckable = 1; UIDropDownMenu_AddButton(info); + info = { }; + info.text = MINIMAGE_LABEL_ALLIANCE3; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALLIANCE3); end; + UIDropDownMenu_AddButton(info); + info = { }; info.text = MINIMAGE_LABEL_ALLIANCE0; info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALLIANCE0); end; @@ -220,15 +231,4 @@ UIDropDownMenu_AddButton(info) info.text = MINIMAGE_LABEL_ALLIANCE2; info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALLIANCE2); end; UIDropDownMenu_AddButton(info); - --- Custom Teleport: Alah'Thalas -local info = { }; -info.text = "Alah'Thalas"; -info.func = function(msg) - CastSpellByName("Teleport: Alah'Thalas"); -end; -UIDropDownMenu_AddButton(info); - - - end \ No newline at end of file diff --git a/localization.lua b/localization.lua index 3c1f6e7..5845648 100644 --- a/localization.lua +++ b/localization.lua @@ -28,7 +28,9 @@ MINIMAGE_LABEL_TELEPORT = "Teleport"; MINIMAGE_LABEL_ALLIANCE0 = "Darnassus"; MINIMAGE_LABEL_ALLIANCE1 = "Ironforge"; MINIMAGE_LABEL_ALLIANCE2 = "Stormwind"; +MINIMAGE_LABEL_ALLIANCE3 = "Alah'Thalas"; MINIMAGE_LABEL_HORDE0 = "Orgrimmar"; MINIMAGE_LABEL_HORDE1 = "Thunder Bluff"; -MINIMAGE_LABEL_HORDE2 = "Undercity"; \ No newline at end of file +MINIMAGE_LABEL_HORDE2 = "Undercity"; +MINIMAGE_LABEL_HORDE3 = "Stonard"