From 76fca17242baad6c22d7bd3905b9dd3e0ef0b573 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Tue, 19 Jul 2016 14:48:46 +0300 Subject: [PATCH] Hell of an update! Legion version is here --- ElvUI_SLE/Bindings.xml | 18 +- ElvUI_SLE/ElvUI_SLE.toc | 12 +- ElvUI_SLE/LICENSE.txt | 2 +- ElvUI_SLE/core/communicate.lua | 19 +- ElvUI_SLE/core/core.lua | 328 +- ElvUI_SLE/core/dropdown.lua | 182 + ElvUI_SLE/core/elvprot.lua | 61 - ElvUI_SLE/core/gameMenu.lua | 24 + ElvUI_SLE/core/globals.lua | 105 +- ElvUI_SLE/core/install.lua | 2235 +++---- ElvUI_SLE/core/installer/BigWigs.lua | 35 - ElvUI_SLE/core/installer/BigWigsFights.lua | 91 - ElvUI_SLE/core/installer/BigWigsIcon.lua | 29 - ElvUI_SLE/core/installer/Clique.lua | 27 - ElvUI_SLE/core/installer/Hermes.lua | 1046 --- ElvUI_SLE/core/installer/Skada.lua | 160 - ElvUI_SLE/core/installer/installer.lua | 153 - ElvUI_SLE/core/installer/load_install.xml | 11 - ElvUI_SLE/core/installer/xCT+.lua | 215 - ElvUI_SLE/core/load_core.xml | 2 +- ElvUI_SLE/core/media.lua | 161 +- ElvUI_SLE/core/modules.lua | 39 - ElvUI_SLE/core/staticpopups.lua | 129 +- ElvUI_SLE/core/test.lua | 2 - ElvUI_SLE/core/toolkit.lua | 608 +- ElvUI_SLE/core/toolsRu.lua | 48 + ElvUI_SLE/defaults/private.lua | 221 +- ElvUI_SLE/defaults/profile.lua | 1189 ++-- ElvUI_SLE/libs/AceAddon-3.0/AceAddon-3.0.lua | 674 ++ ElvUI_SLE/libs/AceAddon-3.0/AceAddon-3.0.xml | 4 + ElvUI_SLE/libs/AceConfig-3.0/AceConfig-3.0.lua | 57 - ElvUI_SLE/libs/AceConfig-3.0/AceConfig-3.0.xml | 8 - .../AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 794 --- .../AceConfigCmd-3.0/AceConfigCmd-3.0.xml | 4 - .../AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 1954 ------ .../AceConfigDialog-3.0/AceConfigDialog-3.0.xml | 4 - .../AceConfigRegistry-3.0.lua | 349 - .../AceConfigRegistry-3.0.xml | 4 - ElvUI_SLE/libs/AceConsole-3.0/AceConsole-3.0.lua | 250 + ElvUI_SLE/libs/AceConsole-3.0/AceConsole-3.0.xml | 4 + ElvUI_SLE/libs/AceDB-3.0/AceDB-3.0.lua | 745 +++ ElvUI_SLE/libs/AceDB-3.0/AceDB-3.0.xml | 4 + .../libs/AceDBOptions-3.0/AceDBOptions-3.0.lua | 440 -- .../libs/AceDBOptions-3.0/AceDBOptions-3.0.xml | 4 - .../AceGUI-3.0-SharedMediaWidgets.toc | 19 - .../BackgroundWidget.lua | 235 - .../AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua | 230 - ...g-AceGUI-3.0-SharedMediaWidgets-r52-release.txt | 29 - .../AceGUI-3.0-SharedMediaWidgets/FontWidget.lua | 216 - .../Libs/AceGUI-3.0/AceGUI-3.0.lua | 813 --- .../Libs/AceGUI-3.0/AceGUI-3.0.xml | 28 - .../widgets/AceGUIContainer-BlizOptionsGroup.lua | 138 - .../widgets/AceGUIContainer-DropDownGroup.lua | 157 - .../AceGUI-3.0/widgets/AceGUIContainer-Frame.lua | 311 - .../widgets/AceGUIContainer-InlineGroup.lua | 103 - .../widgets/AceGUIContainer-ScrollFrame.lua | 204 - .../widgets/AceGUIContainer-SimpleGroup.lua | 69 - .../widgets/AceGUIContainer-TabGroup.lua | 350 - .../widgets/AceGUIContainer-TreeGroup.lua | 709 -- .../AceGUI-3.0/widgets/AceGUIContainer-Window.lua | 331 - .../AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 109 - .../AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua | 295 - .../widgets/AceGUIWidget-ColorPicker.lua | 188 - .../widgets/AceGUIWidget-DropDown-Items.lua | 471 -- .../AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua | 737 -- .../AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 261 - .../AceGUI-3.0/widgets/AceGUIWidget-Heading.lua | 78 - .../Libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 144 - .../widgets/AceGUIWidget-InteractiveLabel.lua | 101 - .../AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 239 - .../Libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 166 - .../widgets/AceGUIWidget-MultiLineEditBox.lua | 368 - .../AceGUI-3.0/widgets/AceGUIWidget-Slider.lua | 285 - .../CallbackHandler-1.0/CallbackHandler-1.0.lua | 239 - .../CallbackHandler-1.0/CallbackHandler-1.0.xml | 4 - .../Libs/LibStub/LibStub.lua | 30 - .../Libs/LibStub/LibStub.toc | 13 - .../AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua | 264 - .../StatusbarWidget.lua | 233 - .../AceGUI-3.0-SharedMediaWidgets/prototypes.lua | 275 - .../libs/AceGUI-3.0-SharedMediaWidgets/widget.xml | 9 - ElvUI_SLE/libs/AceGUI-3.0/AceGUI-3.0.lua | 813 --- ElvUI_SLE/libs/AceGUI-3.0/AceGUI-3.0.xml | 28 - .../widgets/AceGUIContainer-BlizOptionsGroup.lua | 138 - .../widgets/AceGUIContainer-DropDownGroup.lua | 157 - .../AceGUI-3.0/widgets/AceGUIContainer-Frame.lua | 311 - .../widgets/AceGUIContainer-InlineGroup.lua | 103 - .../widgets/AceGUIContainer-ScrollFrame.lua | 204 - .../widgets/AceGUIContainer-SimpleGroup.lua | 69 - .../widgets/AceGUIContainer-TabGroup.lua | 350 - .../widgets/AceGUIContainer-TreeGroup.lua | 709 -- .../AceGUI-3.0/widgets/AceGUIContainer-Window.lua | 331 - .../AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 109 - .../AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua | 295 - .../widgets/AceGUIWidget-ColorPicker.lua | 200 - .../widgets/AceGUIWidget-DropDown-Items.lua | 471 -- .../AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua | 737 -- .../AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 261 - .../AceGUI-3.0/widgets/AceGUIWidget-Heading.lua | 78 - .../libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 144 - .../widgets/AceGUIWidget-InteractiveLabel.lua | 101 - .../AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 239 - .../libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 166 - .../widgets/AceGUIWidget-MultiLineEditBox.lua | 368 - .../AceGUI-3.0/widgets/AceGUIWidget-Slider.lua | 285 - ElvUI_SLE/libs/LibAnim/LibAnim.lua | 797 +++ ElvUI_SLE/libs/LibAnim/LibAnim.toc | 7 + .../LibElv-GameMenu-1.0/LibElv-GameMenu-1.0.lua | 119 + .../LibElv-GameMenu-1.0/LibElv-GameMenu-1.0.toc | 7 + .../LibElv-UIButtons-1.0/LibElv-UIButtons-1.0.lua | 63 +- .../libs/LibElv-UIButtons-1.0/locales/english.lua | 16 +- .../libs/LibElv-UIButtons-1.0/locales/russian.lua | 6 +- ElvUI_SLE/libs/LibFishing-1.0/LibFishing-1.0.lua | 1727 +++++ ElvUI_SLE/libs/LibFishing-1.0/lib.xml | 4 + .../Changelog-LibTourist-3.0-r181.txt | 17 + ElvUI_SLE/libs/LibTourist-3.0/LICENSE.txt | 31 + ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.lua | 7052 ++++++++++++++++++++ ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.toc | 13 + ElvUI_SLE/libs/LibTourist-3.0/lib.xml | 4 + ElvUI_SLE/libs/load_libs.xml | 2 +- ElvUI_SLE/libs/oUF_NecroStrike/oUF_NecroStrike.lua | 116 - ElvUI_SLE/libs/oUF_NecroStrike/oUF_NecroStrike.toc | 9 - ElvUI_SLE/libs/oUF_OfflineSLE/oUF_OfflineSLE.lua | 40 + ElvUI_SLE/libs/oUF_OfflineSLE/oUF_OfflineSLE.toc | 8 + ElvUI_SLE/locales/english.lua | 819 ++- ElvUI_SLE/locales/russian.lua | 1073 +-- ElvUI_SLE/media/fonts/KellySlab.ttf | Bin 0 -> 77816 bytes ElvUI_SLE/media/fonts/Lobster.ttf | Bin 0 -> 429716 bytes ElvUI_SLE/media/fonts/Neucha.ttf | Bin 0 -> 141432 bytes ElvUI_SLE/media/fonts/RussoOne.ttf | Bin 0 -> 39124 bytes ElvUI_SLE/media/fonts/StalinistOne.ttf | Bin 0 -> 49960 bytes ElvUI_SLE/media/fonts/UbuntuCondensed.ttf | Bin 0 -> 350444 bytes ElvUI_SLE/media/sharedmedia.lua | 20 +- ElvUI_SLE/media/textures/Achievement_small.blp | Bin 0 -> 9364 bytes ElvUI_SLE/media/textures/BuiOnePixel.tga | Bin 0 -> 364 bytes ElvUI_SLE/media/textures/Chat_RPG.blp | Bin 2196 -> 0 bytes ElvUI_SLE/media/textures/Daily.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Factions.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Flightmaster.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Legendary.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/NewQuestMinimize.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Ohi_Dragon.blp | Bin 0 -> 33940 bytes ElvUI_SLE/media/textures/Ohi_Dragon2.blp | Bin 0 -> 33940 bytes ElvUI_SLE/media/textures/Ohi_MetalPlate.blp | Bin 0 -> 33940 bytes ElvUI_SLE/media/textures/Ohi_MetalSheet.blp | Bin 0 -> 33940 bytes ElvUI_SLE/media/textures/Ohi_Tribal4.blp | Bin 0 -> 33940 bytes ElvUI_SLE/media/textures/Portal_Blue.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Portal_Red.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Quest.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/SVUI-StateIcon.blp | Bin 0 -> 6676 bytes ElvUI_SLE/media/textures/Skull.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Skull_Event.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Swords.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/Swords_Event.blp | Bin 0 -> 3220 bytes ElvUI_SLE/media/textures/WH.blp | Bin 9364 -> 0 bytes ElvUI_SLE/media/textures/Weekly.blp | Bin 0 -> 9364 bytes ElvUI_SLE/media/textures/adapt.blp | Bin 1876 -> 0 bytes ElvUI_SLE/media/textures/bl_logo.blp | Bin 44884 -> 0 bytes ElvUI_SLE/media/textures/chat_1.blp | Bin 700244 -> 0 bytes ElvUI_SLE/media/textures/outfitter.blp | Bin 1524 -> 0 bytes ElvUI_SLE/modules/AddOnSkins.lua | 39 +- .../Armory/CharacterArmory/CharacterArmory.lua | 179 +- ElvUI_SLE/modules/Armory/Config.lua | 204 +- ElvUI_SLE/modules/Armory/Constants.lua | 8 +- .../modules/Armory/InspectArmory/Communication.lua | 143 +- .../modules/Armory/InspectArmory/InspectArmory.lua | 595 +- .../modules/Armory/InspectArmory/NotifyInspect.lua | 5 +- ElvUI_SLE/modules/Armory/KnightFrame.lua | 71 +- ElvUI_SLE/modules/actionbars.lua | 107 + ElvUI_SLE/modules/afk.lua | 467 ++ ElvUI_SLE/modules/auras.lua | 307 +- ElvUI_SLE/modules/autorelease.lua | 47 - ElvUI_SLE/modules/backgrounds.lua | 161 +- ElvUI_SLE/modules/baginfo.lua | 59 +- ElvUI_SLE/modules/bags.lua | 72 +- ElvUI_SLE/modules/blizzard.lua | 133 + ElvUI_SLE/modules/chat.lua | 508 -- ElvUI_SLE/modules/chat/chat.lua | 290 + ElvUI_SLE/modules/chat/dpsSpam.lua | 169 + ElvUI_SLE/modules/chat/history.lua | 180 + ElvUI_SLE/modules/chat/load_chat.xml | 6 + ElvUI_SLE/modules/chat/tabs.lua | 77 + ElvUI_SLE/modules/dashboard/dashboard.lua | 85 - ElvUI_SLE/modules/dashboard/datapanels/bags.lua | 24 - .../modules/dashboard/datapanels/durability.lua | 68 - ElvUI_SLE/modules/dashboard/datapanels/fps.lua | 22 - ElvUI_SLE/modules/dashboard/datapanels/ms.lua | 23 - ElvUI_SLE/modules/dashboard/load_dashboard.xml | 7 - ElvUI_SLE/modules/databars/artifact.lua | 79 + ElvUI_SLE/modules/databars/databars.lua | 55 + ElvUI_SLE/modules/databars/exp.lua | 166 + ElvUI_SLE/modules/databars/honor.lua | 135 + ElvUI_SLE/modules/databars/load_databars.xml | 7 + ElvUI_SLE/modules/databars/rep.lua | 322 + ElvUI_SLE/modules/datatexts.lua | 236 +- ElvUI_SLE/modules/elvConfig.lua | 61 + ElvUI_SLE/modules/equipmanager.lua | 158 +- ElvUI_SLE/modules/errorframe.lua | 11 - ElvUI_SLE/modules/exprepbar.lua | 233 - ElvUI_SLE/modules/farm.lua | 700 -- ElvUI_SLE/modules/garrison.lua | 42 +- ElvUI_SLE/modules/lfr.lua | 576 ++ ElvUI_SLE/modules/load_modules.xml | 37 +- ElvUI_SLE/modules/loot.lua | 317 +- ElvUI_SLE/modules/minimap/instance.lua | 88 +- ElvUI_SLE/modules/minimap/load_minimap.xml | 1 + ElvUI_SLE/modules/minimap/locationbar.lua | 395 ++ ElvUI_SLE/modules/minimap/minimapcoords.lua | 157 +- ElvUI_SLE/modules/minimap/minimapicons.lua | 163 +- ElvUI_SLE/modules/misc.lua | 133 + ElvUI_SLE/modules/nameplates.lua | 126 +- ElvUI_SLE/modules/professions/deconstruct.lua | 339 + ElvUI_SLE/modules/professions/enchant.lua | 91 + ElvUI_SLE/modules/professions/fishing.lua | 152 + ElvUI_SLE/modules/professions/load_professions.xml | 6 + ElvUI_SLE/modules/professions/professions.lua | 63 + ElvUI_SLE/modules/pvp.lua | 130 + ElvUI_SLE/modules/pvpmover.lua | 23 - ElvUI_SLE/modules/quests.lua | 63 - ElvUI_SLE/modules/quests/load_quests.xml | 4 + .../quests/questking/buttons/achievement.lua | 288 + .../quests/questking/buttons/bonusobjective.lua | 283 + .../quests/questking/buttons/challengetimer.lua | 152 + .../modules/quests/questking/buttons/quest.lua | 519 ++ .../modules/quests/questking/buttons/scenario.lua | 290 + ElvUI_SLE/modules/quests/questking/core/core.lua | 150 + ElvUI_SLE/modules/quests/questking/core/util.lua | 179 + .../modules/quests/questking/load_questking.xml | 14 + ElvUI_SLE/modules/quests/questking/questking.lua | 35 + .../modules/quests/questking/ui/progressbar.lua | 182 + .../modules/quests/questking/ui/rewardsframe.lua | 191 + ElvUI_SLE/modules/quests/questking/ui/timerbar.lua | 124 + ElvUI_SLE/modules/quests/questking/ui/tracker.lua | 29 + ElvUI_SLE/modules/quests/quests.lua | 107 + ElvUI_SLE/modules/raidmarkers.lua | 162 +- ElvUI_SLE/modules/raidroleicons.lua | 30 +- ElvUI_SLE/modules/raidutility.lua | 56 - ElvUI_SLE/modules/screensaver.lua | 356 - ElvUI_SLE/modules/sledatatexts/agility.lua | 9 +- ElvUI_SLE/modules/sledatatexts/currency.lua | 191 +- ElvUI_SLE/modules/sledatatexts/durability.lua | 128 +- ElvUI_SLE/modules/sledatatexts/energyregen.lua | 9 +- ElvUI_SLE/modules/sledatatexts/friends.lua | 164 +- ElvUI_SLE/modules/sledatatexts/guild.lua | 107 +- ElvUI_SLE/modules/sledatatexts/intellect.lua | 10 +- ElvUI_SLE/modules/sledatatexts/itemlevel.lua | 67 +- ElvUI_SLE/modules/sledatatexts/lfr.lua | 702 -- ElvUI_SLE/modules/sledatatexts/load_datatexts.xml | 1 - ElvUI_SLE/modules/sledatatexts/mail.lua | 57 +- ElvUI_SLE/modules/sledatatexts/played.lua | 91 +- ElvUI_SLE/modules/sledatatexts/range.lua | 10 +- ElvUI_SLE/modules/sledatatexts/regen.lua | 18 +- ElvUI_SLE/modules/sledatatexts/spirit.lua | 21 - ElvUI_SLE/modules/sledatatexts/stamina.lua | 10 +- ElvUI_SLE/modules/sledatatexts/strength.lua | 10 +- ElvUI_SLE/modules/sledatatexts/time.lua | 198 +- ElvUI_SLE/modules/sledatatexts/version.lua | 28 +- ElvUI_SLE/modules/threat.lua | 35 - ElvUI_SLE/modules/toolbars.lua | 719 ++ ElvUI_SLE/modules/tooltip.lua | 61 - ElvUI_SLE/modules/tooltips/load_tooltips.xml | 4 + ElvUI_SLE/modules/tooltips/raidprogress.lua | 194 + ElvUI_SLE/modules/tooltips/tooltip.lua | 55 + ElvUI_SLE/modules/uibuttons.lua | 43 +- ElvUI_SLE/modules/unitframes.lua | 389 -- ElvUI_SLE/modules/unitframes/load_unitframes.xml | 7 + ElvUI_SLE/modules/unitframes/offline.lua | 21 + ElvUI_SLE/modules/unitframes/roleIcons.lua | 71 + ElvUI_SLE/modules/unitframes/statusbars.lua | 127 + ElvUI_SLE/modules/unitframes/unitframes.lua | 166 + ElvUI_SLE/modules/unitframes/units/groupFrames.lua | 37 + ElvUI_SLE/modules/unitframes/units/load_units.xml | 4 + ElvUI_SLE/modules/unitframes/units/player.lua | 79 + ElvUI_SLE/modules/vehicle.lua | 17 +- ElvUI_SLE/options/actionbars_c.lua | 92 + ElvUI_SLE/options/afk_c.lua | 255 + ElvUI_SLE/options/auras_c.lua | 48 +- ElvUI_SLE/options/autorelease_c.lua | 30 - ElvUI_SLE/options/backgrounds_c.lua | 195 +- ElvUI_SLE/options/bags_c.lua | 16 +- ElvUI_SLE/options/blizzard_c.lua | 71 + ElvUI_SLE/options/chat/chat_c.lua | 126 + ElvUI_SLE/options/chat/history_c.lua | 80 + ElvUI_SLE/options/chat/load_chat.xml | 6 + ElvUI_SLE/options/chat/tabs_c.lua | 57 + ElvUI_SLE/options/chat_c.lua | 104 - ElvUI_SLE/options/core_c.lua | 261 +- ElvUI_SLE/options/databars_c.lua | 306 + ElvUI_SLE/options/datatexts/currency_c.lua | 77 + ElvUI_SLE/options/datatexts/datatexts_c.lua | 157 + ElvUI_SLE/options/datatexts/friends_c.lua | 71 + ElvUI_SLE/options/datatexts/guild_c.lua | 83 + ElvUI_SLE/options/datatexts/load_datatexts.xml | 9 + ElvUI_SLE/options/datatexts/misc_c.lua | 79 + ElvUI_SLE/options/datatexts/time_c.lua | 82 + ElvUI_SLE/options/datatexts_c.lua | 615 -- ElvUI_SLE/options/equipmanager_c.lua | 185 +- ElvUI_SLE/options/errorframe_c.lua | 59 - ElvUI_SLE/options/exprepbar_c.lua | 44 - ElvUI_SLE/options/farm_c.lua | 117 +- ElvUI_SLE/options/garrison_c.lua | 108 +- ElvUI_SLE/options/help_c.lua | 208 +- ElvUI_SLE/options/imports_c.lua | 687 -- ElvUI_SLE/options/legacy_c.lua | 17 + ElvUI_SLE/options/load_options.xml | 23 +- ElvUI_SLE/options/loot_c.lua | 185 +- ElvUI_SLE/options/media_c.lua | 354 +- ElvUI_SLE/options/minimap/coords_c.lua | 105 + ElvUI_SLE/options/minimap/instance_c.lua | 107 + ElvUI_SLE/options/minimap/load_minimap.xml | 8 + ElvUI_SLE/options/minimap/locpanel_c.lua | 196 + ElvUI_SLE/options/minimap/minimap_c.lua | 44 + ElvUI_SLE/options/minimap/minimapicons_c.lua | 78 + ElvUI_SLE/options/minimap_c.lua | 292 - ElvUI_SLE/options/misc_c.lua | 78 + ElvUI_SLE/options/nameplates_c.lua | 12 +- ElvUI_SLE/options/professions_c.lua | 223 + ElvUI_SLE/options/pvp_c.lua | 105 + ElvUI_SLE/options/quests_c.lua | 162 +- ElvUI_SLE/options/raidmarkers_c.lua | 64 +- ElvUI_SLE/options/raidroleicons_c.lua | 26 +- ElvUI_SLE/options/raidutility_c.lua | 32 - ElvUI_SLE/options/skins_c.lua | 369 + ElvUI_SLE/options/threat_c.lua | 62 - ElvUI_SLE/options/tooltip_c.lua | 67 +- ElvUI_SLE/options/uibuttons_c.lua | 53 +- ElvUI_SLE/options/unitframes_c.lua | 457 +- ElvUI_SLE/options/vehicle_c.lua | 30 - ElvUI_SLE/options/viewport_c.lua | 40 + ElvUI_SLE/skins/blizzard/character.lua | 27 +- ElvUI_SLE/skins/blizzard/load_blizzard.xml | 2 + ElvUI_SLE/skins/blizzard/merchant.lua | 257 + ElvUI_SLE/skins/blizzard/objectiveTracker.lua | 209 + ElvUI_SLE/skins/blizzard/petbattle.lua | 11 +- ElvUI_SLE/skins/load_skins.xml | 1 + ElvUI_SLE/skins/skins.lua | 34 + 336 files changed, 30803 insertions(+), 32806 deletions(-) create mode 100644 ElvUI_SLE/core/dropdown.lua delete mode 100644 ElvUI_SLE/core/elvprot.lua create mode 100644 ElvUI_SLE/core/gameMenu.lua delete mode 100644 ElvUI_SLE/core/installer/BigWigs.lua delete mode 100644 ElvUI_SLE/core/installer/BigWigsFights.lua delete mode 100644 ElvUI_SLE/core/installer/BigWigsIcon.lua delete mode 100644 ElvUI_SLE/core/installer/Clique.lua delete mode 100644 ElvUI_SLE/core/installer/Hermes.lua delete mode 100644 ElvUI_SLE/core/installer/Skada.lua delete mode 100644 ElvUI_SLE/core/installer/installer.lua delete mode 100644 ElvUI_SLE/core/installer/load_install.xml delete mode 100644 ElvUI_SLE/core/installer/xCT+.lua delete mode 100644 ElvUI_SLE/core/modules.lua delete mode 100644 ElvUI_SLE/core/test.lua create mode 100644 ElvUI_SLE/core/toolsRu.lua create mode 100644 ElvUI_SLE/libs/AceAddon-3.0/AceAddon-3.0.lua create mode 100644 ElvUI_SLE/libs/AceAddon-3.0/AceAddon-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfig-3.0.lua delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfig-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.lua delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.lua delete mode 100644 ElvUI_SLE/libs/AceConfig-3.0/AceConfigRegistry-3.0/AceConfigRegistry-3.0.xml create mode 100644 ElvUI_SLE/libs/AceConsole-3.0/AceConsole-3.0.lua create mode 100644 ElvUI_SLE/libs/AceConsole-3.0/AceConsole-3.0.xml create mode 100644 ElvUI_SLE/libs/AceDB-3.0/AceDB-3.0.lua create mode 100644 ElvUI_SLE/libs/AceDB-3.0/AceDB-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceDBOptions-3.0/AceDBOptions-3.0.lua delete mode 100644 ElvUI_SLE/libs/AceDBOptions-3.0/AceDBOptions-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/AceGUI-3.0-SharedMediaWidgets.toc delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Changelog-AceGUI-3.0-SharedMediaWidgets-r52-release.txt delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/AceGUI-3.0.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/AceGUI-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-DropDownGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-SimpleGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/CallbackHandler-1.0/CallbackHandler-1.0.xml delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/LibStub/LibStub.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/Libs/LibStub/LibStub.toc delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/StatusbarWidget.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/prototypes.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0-SharedMediaWidgets/widget.xml delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/AceGUI-3.0.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/AceGUI-3.0.xml delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-DropDownGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-SimpleGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua delete mode 100644 ElvUI_SLE/libs/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua create mode 100644 ElvUI_SLE/libs/LibAnim/LibAnim.lua create mode 100644 ElvUI_SLE/libs/LibAnim/LibAnim.toc create mode 100644 ElvUI_SLE/libs/LibElv-GameMenu-1.0/LibElv-GameMenu-1.0.lua create mode 100644 ElvUI_SLE/libs/LibElv-GameMenu-1.0/LibElv-GameMenu-1.0.toc create mode 100644 ElvUI_SLE/libs/LibFishing-1.0/LibFishing-1.0.lua create mode 100644 ElvUI_SLE/libs/LibFishing-1.0/lib.xml create mode 100644 ElvUI_SLE/libs/LibTourist-3.0/Changelog-LibTourist-3.0-r181.txt create mode 100644 ElvUI_SLE/libs/LibTourist-3.0/LICENSE.txt create mode 100644 ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.lua create mode 100644 ElvUI_SLE/libs/LibTourist-3.0/LibTourist-3.0.toc create mode 100644 ElvUI_SLE/libs/LibTourist-3.0/lib.xml delete mode 100644 ElvUI_SLE/libs/oUF_NecroStrike/oUF_NecroStrike.lua delete mode 100644 ElvUI_SLE/libs/oUF_NecroStrike/oUF_NecroStrike.toc create mode 100644 ElvUI_SLE/libs/oUF_OfflineSLE/oUF_OfflineSLE.lua create mode 100644 ElvUI_SLE/libs/oUF_OfflineSLE/oUF_OfflineSLE.toc create mode 100644 ElvUI_SLE/media/fonts/KellySlab.ttf create mode 100644 ElvUI_SLE/media/fonts/Lobster.ttf create mode 100644 ElvUI_SLE/media/fonts/Neucha.ttf create mode 100644 ElvUI_SLE/media/fonts/RussoOne.ttf create mode 100644 ElvUI_SLE/media/fonts/StalinistOne.ttf create mode 100644 ElvUI_SLE/media/fonts/UbuntuCondensed.ttf create mode 100644 ElvUI_SLE/media/textures/Achievement_small.blp create mode 100644 ElvUI_SLE/media/textures/BuiOnePixel.tga delete mode 100644 ElvUI_SLE/media/textures/Chat_RPG.blp create mode 100644 ElvUI_SLE/media/textures/Daily.blp create mode 100644 ElvUI_SLE/media/textures/Factions.blp create mode 100644 ElvUI_SLE/media/textures/Flightmaster.blp create mode 100644 ElvUI_SLE/media/textures/Legendary.blp create mode 100644 ElvUI_SLE/media/textures/NewQuestMinimize.blp create mode 100644 ElvUI_SLE/media/textures/Ohi_Dragon.blp create mode 100644 ElvUI_SLE/media/textures/Ohi_Dragon2.blp create mode 100644 ElvUI_SLE/media/textures/Ohi_MetalPlate.blp create mode 100644 ElvUI_SLE/media/textures/Ohi_MetalSheet.blp create mode 100644 ElvUI_SLE/media/textures/Ohi_Tribal4.blp create mode 100644 ElvUI_SLE/media/textures/Portal_Blue.blp create mode 100644 ElvUI_SLE/media/textures/Portal_Red.blp create mode 100644 ElvUI_SLE/media/textures/Quest.blp create mode 100644 ElvUI_SLE/media/textures/SVUI-StateIcon.blp create mode 100644 ElvUI_SLE/media/textures/Skull.blp create mode 100644 ElvUI_SLE/media/textures/Skull_Event.blp create mode 100644 ElvUI_SLE/media/textures/Swords.blp create mode 100644 ElvUI_SLE/media/textures/Swords_Event.blp delete mode 100644 ElvUI_SLE/media/textures/WH.blp create mode 100644 ElvUI_SLE/media/textures/Weekly.blp delete mode 100644 ElvUI_SLE/media/textures/adapt.blp delete mode 100644 ElvUI_SLE/media/textures/bl_logo.blp delete mode 100644 ElvUI_SLE/media/textures/chat_1.blp delete mode 100644 ElvUI_SLE/media/textures/outfitter.blp create mode 100644 ElvUI_SLE/modules/actionbars.lua create mode 100644 ElvUI_SLE/modules/afk.lua delete mode 100644 ElvUI_SLE/modules/autorelease.lua create mode 100644 ElvUI_SLE/modules/blizzard.lua delete mode 100644 ElvUI_SLE/modules/chat.lua create mode 100644 ElvUI_SLE/modules/chat/chat.lua create mode 100644 ElvUI_SLE/modules/chat/dpsSpam.lua create mode 100644 ElvUI_SLE/modules/chat/history.lua create mode 100644 ElvUI_SLE/modules/chat/load_chat.xml create mode 100644 ElvUI_SLE/modules/chat/tabs.lua delete mode 100644 ElvUI_SLE/modules/dashboard/dashboard.lua delete mode 100644 ElvUI_SLE/modules/dashboard/datapanels/bags.lua delete mode 100644 ElvUI_SLE/modules/dashboard/datapanels/durability.lua delete mode 100644 ElvUI_SLE/modules/dashboard/datapanels/fps.lua delete mode 100644 ElvUI_SLE/modules/dashboard/datapanels/ms.lua delete mode 100644 ElvUI_SLE/modules/dashboard/load_dashboard.xml create mode 100644 ElvUI_SLE/modules/databars/artifact.lua create mode 100644 ElvUI_SLE/modules/databars/databars.lua create mode 100644 ElvUI_SLE/modules/databars/exp.lua create mode 100644 ElvUI_SLE/modules/databars/honor.lua create mode 100644 ElvUI_SLE/modules/databars/load_databars.xml create mode 100644 ElvUI_SLE/modules/databars/rep.lua create mode 100644 ElvUI_SLE/modules/elvConfig.lua delete mode 100644 ElvUI_SLE/modules/errorframe.lua delete mode 100644 ElvUI_SLE/modules/exprepbar.lua delete mode 100644 ElvUI_SLE/modules/farm.lua create mode 100644 ElvUI_SLE/modules/lfr.lua create mode 100644 ElvUI_SLE/modules/minimap/locationbar.lua create mode 100644 ElvUI_SLE/modules/misc.lua create mode 100644 ElvUI_SLE/modules/professions/deconstruct.lua create mode 100644 ElvUI_SLE/modules/professions/enchant.lua create mode 100644 ElvUI_SLE/modules/professions/fishing.lua create mode 100644 ElvUI_SLE/modules/professions/load_professions.xml create mode 100644 ElvUI_SLE/modules/professions/professions.lua create mode 100644 ElvUI_SLE/modules/pvp.lua delete mode 100644 ElvUI_SLE/modules/pvpmover.lua delete mode 100644 ElvUI_SLE/modules/quests.lua create mode 100644 ElvUI_SLE/modules/quests/load_quests.xml create mode 100644 ElvUI_SLE/modules/quests/questking/buttons/achievement.lua create mode 100644 ElvUI_SLE/modules/quests/questking/buttons/bonusobjective.lua create mode 100644 ElvUI_SLE/modules/quests/questking/buttons/challengetimer.lua create mode 100644 ElvUI_SLE/modules/quests/questking/buttons/quest.lua create mode 100644 ElvUI_SLE/modules/quests/questking/buttons/scenario.lua create mode 100644 ElvUI_SLE/modules/quests/questking/core/core.lua create mode 100644 ElvUI_SLE/modules/quests/questking/core/util.lua create mode 100644 ElvUI_SLE/modules/quests/questking/load_questking.xml create mode 100644 ElvUI_SLE/modules/quests/questking/questking.lua create mode 100644 ElvUI_SLE/modules/quests/questking/ui/progressbar.lua create mode 100644 ElvUI_SLE/modules/quests/questking/ui/rewardsframe.lua create mode 100644 ElvUI_SLE/modules/quests/questking/ui/timerbar.lua create mode 100644 ElvUI_SLE/modules/quests/questking/ui/tracker.lua create mode 100644 ElvUI_SLE/modules/quests/questking/ui/watchbutton.lua create mode 100644 ElvUI_SLE/modules/quests/quests.lua delete mode 100644 ElvUI_SLE/modules/raidutility.lua delete mode 100644 ElvUI_SLE/modules/screensaver.lua delete mode 100755 ElvUI_SLE/modules/sledatatexts/lfr.lua delete mode 100644 ElvUI_SLE/modules/sledatatexts/spirit.lua delete mode 100644 ElvUI_SLE/modules/threat.lua create mode 100644 ElvUI_SLE/modules/toolbars.lua delete mode 100644 ElvUI_SLE/modules/tooltip.lua create mode 100644 ElvUI_SLE/modules/tooltips/load_tooltips.xml create mode 100644 ElvUI_SLE/modules/tooltips/raidprogress.lua create mode 100644 ElvUI_SLE/modules/tooltips/tooltip.lua delete mode 100644 ElvUI_SLE/modules/unitframes.lua create mode 100644 ElvUI_SLE/modules/unitframes/load_unitframes.xml create mode 100644 ElvUI_SLE/modules/unitframes/offline.lua create mode 100644 ElvUI_SLE/modules/unitframes/roleIcons.lua create mode 100644 ElvUI_SLE/modules/unitframes/statusbars.lua create mode 100644 ElvUI_SLE/modules/unitframes/unitframes.lua create mode 100644 ElvUI_SLE/modules/unitframes/units/groupFrames.lua create mode 100644 ElvUI_SLE/modules/unitframes/units/load_units.xml create mode 100644 ElvUI_SLE/modules/unitframes/units/player.lua create mode 100644 ElvUI_SLE/options/actionbars_c.lua create mode 100644 ElvUI_SLE/options/afk_c.lua delete mode 100644 ElvUI_SLE/options/autorelease_c.lua create mode 100644 ElvUI_SLE/options/blizzard_c.lua create mode 100644 ElvUI_SLE/options/chat/chat_c.lua create mode 100644 ElvUI_SLE/options/chat/history_c.lua create mode 100644 ElvUI_SLE/options/chat/load_chat.xml create mode 100644 ElvUI_SLE/options/chat/tabs_c.lua delete mode 100644 ElvUI_SLE/options/chat_c.lua create mode 100644 ElvUI_SLE/options/databars_c.lua create mode 100644 ElvUI_SLE/options/datatexts/currency_c.lua create mode 100644 ElvUI_SLE/options/datatexts/datatexts_c.lua create mode 100644 ElvUI_SLE/options/datatexts/friends_c.lua create mode 100644 ElvUI_SLE/options/datatexts/guild_c.lua create mode 100644 ElvUI_SLE/options/datatexts/load_datatexts.xml create mode 100644 ElvUI_SLE/options/datatexts/misc_c.lua create mode 100644 ElvUI_SLE/options/datatexts/time_c.lua delete mode 100644 ElvUI_SLE/options/datatexts_c.lua delete mode 100644 ElvUI_SLE/options/errorframe_c.lua delete mode 100644 ElvUI_SLE/options/exprepbar_c.lua delete mode 100644 ElvUI_SLE/options/imports_c.lua create mode 100644 ElvUI_SLE/options/legacy_c.lua create mode 100644 ElvUI_SLE/options/minimap/coords_c.lua create mode 100644 ElvUI_SLE/options/minimap/instance_c.lua create mode 100644 ElvUI_SLE/options/minimap/load_minimap.xml create mode 100644 ElvUI_SLE/options/minimap/locpanel_c.lua create mode 100644 ElvUI_SLE/options/minimap/minimap_c.lua create mode 100644 ElvUI_SLE/options/minimap/minimapicons_c.lua delete mode 100644 ElvUI_SLE/options/minimap_c.lua create mode 100644 ElvUI_SLE/options/misc_c.lua create mode 100644 ElvUI_SLE/options/professions_c.lua create mode 100644 ElvUI_SLE/options/pvp_c.lua delete mode 100644 ElvUI_SLE/options/raidutility_c.lua create mode 100644 ElvUI_SLE/options/skins_c.lua delete mode 100644 ElvUI_SLE/options/threat_c.lua delete mode 100644 ElvUI_SLE/options/vehicle_c.lua create mode 100644 ElvUI_SLE/options/viewport_c.lua create mode 100644 ElvUI_SLE/skins/blizzard/merchant.lua create mode 100644 ElvUI_SLE/skins/blizzard/objectiveTracker.lua create mode 100644 ElvUI_SLE/skins/skins.lua diff --git a/ElvUI_SLE/Bindings.xml b/ElvUI_SLE/Bindings.xml index 2d728ae..84d2336 100644 --- a/ElvUI_SLE/Bindings.xml +++ b/ElvUI_SLE/Bindings.xml @@ -1,20 +1,20 @@ - + - + - + - + - + - + - + - + - + \ No newline at end of file diff --git a/ElvUI_SLE/ElvUI_SLE.toc b/ElvUI_SLE/ElvUI_SLE.toc index f89e7b1..1584b97 100644 --- a/ElvUI_SLE/ElvUI_SLE.toc +++ b/ElvUI_SLE/ElvUI_SLE.toc @@ -1,10 +1,9 @@ -## Interface: 60200 +## Interface: 70000 ## Title: |cff1784d1ElvUI|r |cff9482c9Shadow & Light|r ## Author: Darth Predator, Repooc -## Version: 2.32 -## Notes: Plugin-edit for |cff1784d1ElvUI|r. -## Notes-ruRU: Плагин-редакция для |cff1784d1ElvUI|r. -## eMail: darthpred@gmail.com, repooc@tukui.org +## Version: 3.00 +## Notes: Plugin-edit for |cff1784d1ElvUI|r implementing additional features. +## Notes-ruRU: Плагин-редакция для |cff1784d1ElvUI|r, добавляющий новые функции. ## URL: http://tukui.org/ ## RequiredDeps: ElvUI ## OptionalDeps: AddonSkins, BigWigs, Clique, Hermes, xCT+ @@ -12,14 +11,15 @@ ## X-ElvVersion: 8.26 ## SavedVariables: SLE_ArmoryDB + libs\load_libs.xml locales\load_locales.xml media\load_media.xml core\load_core.xml defaults\load_defaults.xml modules\load_modules.xml -options\load_options.xml skins\load_skins.xml +options\load_options.xml Bindings.xml diff --git a/ElvUI_SLE/LICENSE.txt b/ElvUI_SLE/LICENSE.txt index 8ad5150..6d1040b 100644 --- a/ElvUI_SLE/LICENSE.txt +++ b/ElvUI_SLE/LICENSE.txt @@ -10,4 +10,4 @@ Authors of this addon hereby grants you the following rights: 3. This copyright notice shall be included in all copies or substantial portions of the Software. -All rights not explicitly addressed in this license are reserved by the copyright holders. \ No newline at end of file +All rights not explicitly addressed in this license are reserved by the copyright holders. diff --git a/ElvUI_SLE/core/communicate.lua b/ElvUI_SLE/core/communicate.lua index 3ab252d..adef201 100644 --- a/ElvUI_SLE/core/communicate.lua +++ b/ElvUI_SLE/core/communicate.lua @@ -1,28 +1,31 @@ -local E, L, V, P, G = unpack(ElvUI); -local SLE = E:GetModule('SLE'); -local split = string.split +local SLE, T, E, L, V, P, G = unpack(select(2, ...)) +local BNET_CLIENT_WOW = BNET_CLIENT_WOW +local BNSendGameData = BNSendGameData +local SendAddonMessage = SendAddonMessage + +--Building user list for dev tool local function SendRecieve(self, event, prefix, message, channel, sender) if event == "CHAT_MSG_ADDON" then if prefix == 'SLE_DEV_REQ' then local message = "wut?" SendAddonMessage('SLE_USER_REQ', message, channel) elseif prefix == 'SLE_USER_INFO' then - local message = UnitLevel('player')..'#'..E.myclass..'#'..E.myname..'#'..E.myrealm..'#'..SLE.version; + local message = T.UnitLevel('player')..'#'..E.myclass..'#'..E.myname..'#'..E.myrealm..'#'..SLE.version; SendAddonMessage('SLE_DEV_INFO', message, channel) end elseif event == "BN_CHAT_MSG_ADDON" then if (sender == E.myname.."-"..E.myrealm:gsub(' ','')) then return end if prefix == 'SLE_DEV_REQ' then - local _, numBNetOnline = BNGetNumFriends() + local _, numBNetOnline = T.BNGetNumFriends() for i = 1, numBNetOnline do - local presenceID, _, _, _, _, _, client, isOnline = BNGetFriendInfo(i) + local presenceID, _, _, _, _, _, client, isOnline = T.BNGetFriendInfo(i) if isOnline and client == BNET_CLIENT_WOW then - local message, ID = split("#", message) + local message, ID = T.split("#", message) if message == 'userlist' then - message = UnitLevel('player')..'#'..E.myclass..'#'..E.myname..'#'..E.myrealm..'#'..SLE.version; + message = T.UnitLevel('player')..'#'..E.myclass..'#'..E.myname..'#'..E.myrealm..'#'..SLE.version; elseif message == 'slesay' then message = "SLEinfo"..ID end diff --git a/ElvUI_SLE/core/core.lua b/ElvUI_SLE/core/core.lua index b52a57a..05c3801 100644 --- a/ElvUI_SLE/core/core.lua +++ b/ElvUI_SLE/core/core.lua @@ -1,260 +1,138 @@ local E, L, V, P, G = unpack(ElvUI); -local SLE = E:GetModule('SLE') local EP = LibStub("LibElvUIPlugin-1.0") -local UF = E:GetModule('UnitFrames') -local Sk = E:GetModule("Skins") -local addon = ... +local AddOnName, Engine = ...; ---localizing functions-- -local tinsert = tinsert +local _G = _G -local elvV = tonumber(E.version) -local elvR = tonumber(GetAddOnMetadata("ElvUI_SLE", "X-ElvVersion")) +local SLE = LibStub("AceAddon-3.0"):NewAddon(AddOnName, "AceConsole-3.0", "AceEvent-3.0", 'AceTimer-3.0', 'AceHook-3.0'); +SLE.callbacks = SLE.callbacks or LibStub("CallbackHandler-1.0"):New(SLE) + +SLE.version = GetAddOnMetadata("ElvUI_SLE", "Version") ---SLE['media'] = {} +BINDING_HEADER_SLE = "|cff9482c9Shadow & Light|r" -function SLE:MismatchText() - local text = format(L['MSG_OUTDATED'],elvV,elvR) - return text +--Creating a toolkit table +local Toolkit = {} + +--localizing functions and stuff-- + +SLE.elvV = tonumber(E.version) +SLE.elvR = tonumber(GetAddOnMetadata("ElvUI_SLE", "X-ElvVersion")) + +--Setting up table to unpack. Why? no idea +Engine[1] = SLE +Engine[2] = Toolkit +Engine[3] = E +Engine[4] = L +Engine[5] = V +Engine[6] = P +Engine[7] = G +_G[AddOnName] = Engine; + +--A function to concentrate options from different modules to a single table used in plugin reg +local function GetOptions() + for _, func in Toolkit.pairs(SLE.Configs) do + func() + end end -local function AddTutorials() --Additional tutorials - tinsert(E.TutorialList, #(E.TutorialList)+1, L["To enable full values of health/power on unitframes in Shadow & Light add \":sl\" to the end of the health/power tag.\nExample: [health:current:sl]."]); +function SLE:OnInitialize() + --Incompatibility stuff will go here + SLE:CheckIncompatible() + SLE:AddTutorials() end -local function ConfigCats() --Additional mover groups - tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L"); +local f=CreateFrame("Frame") +f:RegisterEvent("PLAYER_LOGIN") +f:SetScript("OnEvent", function() + SLE:Initialize() +end) + +function SLE:ConfigCats() --Additional mover groups + Toolkit.tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L"); E.ConfigModeLocalizedStrings["S&L"] = L["S&L: All"] - tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L DT"); + Toolkit.tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L DT"); E.ConfigModeLocalizedStrings["S&L DT"] = L["S&L: Datatexts"] - if E.private.sle.backgrounds then - tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L BG"); - E.ConfigModeLocalizedStrings["S&L BG"] = L["S&L: Backgrounds"] - end - tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L MISC"); + -- if E.private.sle.backgrounds then + Toolkit.tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L BG"); + E.ConfigModeLocalizedStrings["S&L BG"] = L["S&L: Backgrounds"] + -- end + Toolkit.tinsert(E.ConfigModeLayouts, #(E.ConfigModeLayouts)+1, "S&L MISC"); E.ConfigModeLocalizedStrings["S&L MISC"] = L["S&L: Misc"] end -local function GetOptions() - for _, func in pairs(E.SLEConfigs) do - func() - end -end - -local function IncompatibleAddOn(addon, module, optiontable, value) - E.PopupDialogs['SLE_INCOMPATIBLE_ADDON'].button1 = addon - E.PopupDialogs['SLE_INCOMPATIBLE_ADDON'].button2 = 'S&L: '..module - E.PopupDialogs['SLE_INCOMPATIBLE_ADDON'].addon = addon - E.PopupDialogs['SLE_INCOMPATIBLE_ADDON'].module = module - E.PopupDialogs['SLE_INCOMPATIBLE_ADDON'].optiontable = optiontable - E.PopupDialogs['SLE_INCOMPATIBLE_ADDON'].value = value - E.PopupDialogs['SLE_INCOMPATIBLE_ADDON'].showAlert = true +function SLE:IncompatibleAddOn(addon, module, optiontable, value) + E.PopupDialogs["SLE_INCOMPATIBLE_ADDON"].button1 = addon + E.PopupDialogs["SLE_INCOMPATIBLE_ADDON"].button2 = 'S&L: '..module + E.PopupDialogs["SLE_INCOMPATIBLE_ADDON"].addon = addon + E.PopupDialogs["SLE_INCOMPATIBLE_ADDON"].module = module + E.PopupDialogs["SLE_INCOMPATIBLE_ADDON"].optiontable = optiontable + E.PopupDialogs["SLE_INCOMPATIBLE_ADDON"].value = value + E.PopupDialogs["SLE_INCOMPATIBLE_ADDON"].showAlert = true E:StaticPopup_Show('SLE_INCOMPATIBLE_ADDON', addon, module) end -local function CheckIncompatible() - if IsAddOnLoaded('ElvUI_Enhanced') and not E.global.ignoreEnhancedIncompatible then +function SLE:CheckIncompatible() + if Toolkit.IsAddOnLoaded('ElvUI_Enhanced') and not E.global.ignoreEnhancedIncompatible then E:StaticPopup_Show('ENHANCED_SLE_INCOMPATIBLE') end - if IsAddOnLoaded('SquareMinimapButtons') and E.private.sle.minimap.mapicons.enable then - IncompatibleAddOn('SquareMinimapButtons', 'SquareMinimapButtons', E.private.sle.minimap.mapicons, "enable") + if Toolkit.IsAddOnLoaded('SquareMinimapButtons') and E.private.sle.minimap.mapicons.enable then + SLE:IncompatibleAddOn('SquareMinimapButtons', 'SquareMinimapButtons', E.private.sle.minimap.mapicons, "enable") end - if IsAddOnLoaded('LootConfirm') then + if Toolkit.IsAddOnLoaded('ElvUI_LocLite') and E.db.sle.minimap.locPanel.enable then + SLE:IncompatibleAddOn('Location Lite', 'Location Panel', E.db.sle.minimap.locPanel.enable, "enable") + end + if Toolkit.IsAddOnLoaded('LootConfirm') then E:StaticPopup_Show('LOOTCONFIRM_SLE_INCOMPATIBLE') end - -- if IsAddOnLoaded('oRA3') then - -- E:StaticPopup_Show('ORA_SLE_INCOMPATIBLE') - -- end + if Toolkit.IsAddOnLoaded('ElvUITransparentActionbars') then + E:StaticPopup_Show('TRANSAB_SLE_INCOMPATIBLE') + end end -function SLE:CreateExport() - local frame = CreateFrame("Frame", "SLEExImFrame", E.UIParent) - tinsert(UISpecialFrames, "SLEExImFrame") - frame:SetTemplate('Transparent') - frame:Size(800, 400) - frame:Point('CENTER', E.UIParent) - frame:Hide() - frame:EnableMouse(true) - frame:SetFrameStrata("DIALOG") - frame:SetMovable(true) - frame:RegisterForDrag("LeftButton") - frame:SetScript("OnDragStart", function(self) - if IsShiftKeyDown() then - self:StartMoving() - end - end) - frame:SetScript("OnDragStop", frame.StopMovingOrSizing) - - local text = frame:CreateFontString(nil, "OVERLAY") - text:SetFont(E["media"].normFont, 14) - text:SetPoint("TOP", frame, "TOP", -10, -10) - text:SetText("< "..L["Export / Import"].." >") - text:SetJustifyH("left") - - local ExScrollArea = CreateFrame("ScrollFrame", "SLEExportScrollFrame", frame, "UIPanelScrollFrameTemplate") - ExScrollArea:Point("TOPLEFT", frame, "TOPLEFT", 10, -30) - ExScrollArea:Point("BOTTOMRIGHT", frame, "BOTTOM", -25, 10) - ExScrollArea:CreateBackdrop() - Sk:HandleScrollBar(SLEExportScrollFrameScrollBar) - - local ImScrollArea = CreateFrame("ScrollFrame", "SLEImportScrollFrame", frame, "UIPanelScrollFrameTemplate") - ImScrollArea:Point("TOPRIGHT", frame, "TOPRIGHT", -30, -30) - ImScrollArea:Point("BOTTOMLEFT", frame, "BOTTOM", 5, 10) - ImScrollArea:CreateBackdrop() - Sk:HandleScrollBar(SLEImportScrollFrameScrollBar) - - local ExEditBox = CreateFrame("EditBox", "SLEExportEditBox", frame) - ExEditBox:SetMultiLine(true) - ExEditBox:SetMaxLetters(0) - ExEditBox:EnableMouse(true) - ExEditBox:SetAutoFocus(false) - ExEditBox:SetFontObject(ChatFontNormal) - ExEditBox:Width(ExScrollArea:GetWidth()) - ExEditBox:SetScript("OnEscapePressed", function() SLEExImFrame:Hide() end) - ExScrollArea:SetScrollChild(ExEditBox) - SLEExportEditBox:SetScript("OnTextChanged", function(self, userInput) - if userInput then return end - local _, max = SLEExportScrollFrameScrollBar:GetMinMaxValues() - for i=1, max do - ScrollFrameTemplate_OnMouseWheel(SLEExportScrollFrame, -1) - end - end) - - local ImEditBox = CreateFrame("EditBox", "SLEImportEditBox", frame) - ImEditBox:SetMultiLine(true) - ImEditBox:SetMaxLetters(0) - ImEditBox:EnableMouse(true) - ImEditBox:SetAutoFocus(false) - ImEditBox:SetFontObject(ChatFontNormal) - ImEditBox:Width(ExScrollArea:GetWidth()) - ImEditBox:SetScript("OnEscapePressed", function() SLEExImFrame:Hide() end) - ImScrollArea:SetScrollChild(ImEditBox) - SLEImportEditBox:SetScript("OnTextChanged", function(self, userInput) - if userInput then return end - local _, max = SLEImportScrollFrameScrollBar:GetMinMaxValues() - for i=1, max do - ScrollFrameTemplate_OnMouseWheel(SLEImportScrollFrame, -1) - end - end) - - - local close = CreateFrame("Button", "SLEExImFrameCloseButton", frame, "UIPanelCloseButton") - close:SetPoint("TOPRIGHT") - close:SetFrameLevel(close:GetFrameLevel() + 1) - close:EnableMouse(true) - Sk:HandleCloseButton(close) - - local exHelp = CreateFrame("Button", "SLEExportHelp", frame) - exHelp:Size(20, 20) - exHelp:Point("TOPLEFT", frame, "TOPLEFT", 9, -6) - local exHelp_t = exHelp:CreateFontString(nil, "OVERLAY") - exHelp_t:SetFont(E["media"].normFont, 14) - exHelp_t:SetPoint("CENTER", exHelp) - exHelp_t:SetText("?") - Sk:HandleButton(exHelp) - exHelp:HookScript("OnEnter", function(self) - GameTooltip:SetOwner(self, 'ANCHOR_TOPLEFT', 2, 4) - GameTooltip:ClearLines() - GameTooltip:AddLine([[|cffFFFFFFExporting: -Click the Export button and the settings that are different from defaults in selected options tables' will be dumped to the export box. - - Profile will copy profile based settings; - - Private will copy character specific settings; - - Global will copy global settings.|r -|cffFF0000Warning: exporting may cause your game to freeze for some time.|r - -|cffFFFFFFImporting: -To import the settings you need to paste the setting table -or line to the import editbox and click import button. -You can use next formats for settings: -1) E.db.chat.panelHeight = 185 -2) E.db['chat']['panelHeight'] = 185 -3) E.db['chat'] = { -... +local GetAddOnEnableState = GetAddOnEnableState +--Check if some stuff happens to be enable +SLE._Compatibility = {} +local _CompList = { + "oRA3", + "ElvUI_CustomTweaks", + "ElvUI_MerathilisUI", + "QuestKing", + "ElvUI_Enhanced", } -In case of the third format you should put at least 2 values.|r - -|cffFF0000Know issue: coloring options will be exported anyway no matter the values and exporting options set.|r]]) - GameTooltip:Show() - end) - exHelp:HookScript("OnLeave", function() GameTooltip:Hide() end) - exHelp:SetScript("OnClick", function(self) - SLEExportEditBox:SetText(dropdown.selectedID) - end) - - local exButton = CreateFrame("Button", "SLEExportButton", frame) - exButton:Size(100, 20) - exButton:Point("LEFT", exHelp, "RIGHT", 4, 0) - local exButton_t = exButton:CreateFontString(nil, "OVERLAY") - exButton_t:SetFont(E["media"].normFont, 14) - exButton_t:SetPoint("CENTER", exButton) - exButton_t:SetText(L["Export"]) - Sk:HandleButton(exButton) - exButton:SetScript("OnClick", SLE.Exporting) - - local imButton = CreateFrame("Button", "SLEImportButton", frame) - imButton:Size(100, 20) - imButton:Point("LEFT", exButton, "RIGHT", 4, 0) - local imButton_t = imButton:CreateFontString(nil, "OVERLAY") - imButton_t:SetFont(E["media"].normFont, 14) - imButton_t:SetPoint("CENTER", imButton) - imButton_t:SetText(L["Import"]) - Sk:HandleButton(imButton) - imButton:SetScript("OnClick", function(self) - local msg = ImEditBox:GetText() - msg = SLE:ImportTableReplace(msg) - if msg then - local func, err = loadstring(msg) - if not err then - func() - E:UpdateAll(true) - ReloadUI() - else - SLE:Print(err) - end - else - SLE:Print("Entered text is not a valid settings table!") - end - end) - - - - local returnB = CreateFrame("Button", "SLEReturnButton", frame) - returnB:Size(100, 20) - returnB:Point("RIGHT", close, "LEFT", 4, 0) - local returnB_t = returnB:CreateFontString(nil, "OVERLAY") - returnB_t:SetFont(E["media"].normFont, 14) - returnB_t:SetPoint("CENTER", returnB) - returnB_t:SetText(L["Back"]) - Sk:HandleButton(returnB) - returnB:SetScript("OnClick", function(self) - E:ToggleConfig() - SLEExImFrame:Hide() - end) -end - -function SLE:FixDatabase() --For when we dramatically change some options - if E.db.sle.chat.combathide == true then E.db.sle.chat.combathide = "BOTH" end - if E.db.sle.chat.combathide == false then E.db.sle.chat.combathide = "NONE" end - if E.db.sle.uibuttons.position == "uib_vert" then E.db.sle.uibuttons.orientation = "vertical" end - if E.db.sle.uibuttons.position == "uib_hor" then E.db.sle.uibuttons.orientation = "horizontal" end +for i = 1, #_CompList do + if GetAddOnEnableState(E.myname, _CompList[i]) == 0 then SLE._Compatibility[_CompList[i]] = nil else SLE._Compatibility[_CompList[i]] = true end end function SLE:Initialize() - SLE:FixDatabase() --ElvUI's version check - if elvV < elvR then + if SLE.elvV < 10 then return end + + if SLE.elvV < SLE.elvR then E:StaticPopup_Show("VERSION_MISMATCH") + return --Not loading shit if version is too old, prevents shit from being broken end - EP:RegisterPlugin(addon, GetOptions) - if E.private.unitframe.enable then - self:RegisterEvent("PLAYER_REGEN_DISABLED", UF.Update_CombatIndicator); - end - if E.private.install_complete and E.private.sle.install_complete == nil then SLE:Install() end + SLE:ConfigCats() + self.initialized = true + self:InitializeModules(); --Load Modules + + SLE:SetCompareItems() --Blizz cvar for item compare + + hooksecurefunc(E, "UpdateAll", SLE.UpdateAll) + --Here goes installation script + + --Annoying message if E.db.general.loginmessage then - SLE:Print(format(L['SLE_LOGIN_MSG'], E["media"].hexvaluecolor, SLE.version)) + Toolkit.print(Toolkit.format(L["SLE_LOGIN_MSG"], E["media"].hexvaluecolor, SLE.version)) end - E:GetModule('SLE_DTPanels'):DashboardShow() - AddTutorials() - ConfigCats() - CheckIncompatible() + + SLE:BuildGameMenu() + SLE:CyrillicsInit() + + if E.private.sle.install_complete == nil or tonumber(E.private.sle.install_complete) < 3 then + E:GetModule("PluginInstaller"):Queue(SLE.installTable) + -- E:GetModule("PluginInstaller"):Queue(SLE.installTable2) + end + + LibStub("LibElvUIPlugin-1.0"):RegisterPlugin(AddOnName, GetOptions) --Registering as plugin end \ No newline at end of file diff --git a/ElvUI_SLE/core/dropdown.lua b/ElvUI_SLE/core/dropdown.lua new file mode 100644 index 0000000..4b45afa --- /dev/null +++ b/ElvUI_SLE/core/dropdown.lua @@ -0,0 +1,182 @@ +local SLE, T, E, L, V, P, G = unpack(select(2, ...)) +local DD = SLE:NewModule("Dropdowns", "AceEvent-3.0") + +DD.RegisteredMenus = {} + +--Cache global variables +local tinsert = tinsert +--WoW API / Variables +local CreateFrame = CreateFrame +local ToggleFrame = ToggleFrame +local GetCursorPosition = GetCursorPosition + +--Global variables that we don't cache, list them here for the mikk's Find Globals script +-- GLOBALS: UIParent, UISpecialFrames, + +local PADDING = 10 +local BUTTON_HEIGHT = 16 +local BUTTON_WIDTH = 135 +local TITLE_OFFSET = 10 + +local function OnClick(btn) + if btn.func then btn.func() end + + btn:GetParent():Hide() +end + +local function OnEnter(btn) + btn.hoverTex:Show() +end + +local function OnLeave(btn) + btn.hoverTex:Hide() +end + +function SLE:DropDown(list, frame, MenuAnchor, FramePoint, xOffset, yOffset, parent, customWidth, justify) + if T.InCombatLockdown() then return end + if not frame:IsShown() then + if not frame.buttons then + frame.buttons = {} + frame:SetFrameStrata("DIALOG") + frame:SetClampedToScreen(true) + T.tinsert(UISpecialFrames, frame:GetName()) + frame:Hide() + end + + xOffset = xOffset or 0 + yOffset = yOffset or 0 + local TitleCount = 0 + local AddOffset = 0 + + for i=1, #frame.buttons do + frame.buttons[i]:Hide() + end + if not parent then FramePoint = "CURSOR" end + + for i=1, #list do + if not frame.buttons[i] then + if list[i].secure then + frame.buttons[i] = CreateFrame("Button", nil, frame, "SecureActionButtonTemplate") + else + frame.buttons[i] = CreateFrame("Button", nil, frame) + end + + frame.buttons[i].hoverTex = frame.buttons[i]:CreateTexture(nil, 'OVERLAY') + frame.buttons[i].hoverTex:SetAllPoints() + frame.buttons[i].hoverTex:SetTexture([[Interface\QuestFrame\UI-QuestTitleHighlight]]) + frame.buttons[i].hoverTex:SetBlendMode("ADD") + frame.buttons[i].hoverTex:Hide() + + frame.buttons[i].text = frame.buttons[i]:CreateFontString(nil, 'BORDER') + frame.buttons[i].text:SetAllPoints() + frame.buttons[i].text:FontTemplate() + + if not list[i].nohighlight then + frame.buttons[i]:SetScript("OnEnter", OnEnter) + frame.buttons[i]:SetScript("OnLeave", OnLeave) + end + + if list[i].func then + frame.buttons[i].func = list[i].func + end + end + frame.buttons[i].text:SetJustifyH(justify or "LEFT") + frame.buttons[i]:Show() + frame.buttons[i]:Height(BUTTON_HEIGHT) + frame.buttons[i]:Width(customWidth or BUTTON_WIDTH) + local icon = "" + if list[i].icon then + icon = "|T"..list[i].icon..":14:14|t " + end + frame.buttons[i].text:SetText(icon..list[i].text) + if list[i].title then + TitleCount = TitleCount + 1 + frame.buttons[i].text:SetTextColor(0.98, 0.95, 0.05) + if list[i].ending or i == 1 or list[i-1].title then + AddOffset = AddOffset + 1 + end + else + frame.buttons[i].text:SetTextColor(1, 1, 1) + end + if list[i].secure then + frame.buttons[i].secure = list[i].secure + frame.buttons[i]:SetAttribute("type", frame.buttons[i].secure.buttonType) + if frame.buttons[i].secure.buttonType == "item" then + local name = T.GetItemInfo(frame.buttons[i].secure.ID) + frame.buttons[i]:SetAttribute("item", name) + elseif frame.buttons[i].secure.buttonType == "spell" then + local name = T.GetSpellInfo(frame.buttons[i].secure.ID) + frame.buttons[i]:SetAttribute("spell", name) + elseif frame.buttons[i].secure.buttonType == "macro" then + frame.buttons[i]:SetAttribute("macrotext", frame.buttons[i].secure.ID) + else + SLE:Print("Wrong argument for button type: "..frame.buttons[i].secure.buttonType) + end + frame.buttons[i]:HookScript("OnClick", OnClick) + else + frame.buttons[i]:SetScript("OnClick", OnClick) + end + + local MARGIN = 10 + if justify then + if justify == "RIGHT" then MARGIN = -10 end + if justify == "CENTER" then MARGIN = 0 end + end + + if i == 1 then + frame.buttons[i]:Point("TOPLEFT", frame, "TOPLEFT", MARGIN, -PADDING) + else + frame.buttons[i]:Point("TOPLEFT", frame.buttons[i-1], "BOTTOMLEFT", 0, -((list[i-1].title or list[i].title) and TITLE_OFFSET or 0)) + end + end + + frame:Height((#list * BUTTON_HEIGHT) + PADDING * 2 + TitleCount * (2 * TITLE_OFFSET) - AddOffset * TITLE_OFFSET) + frame:Width(customWidth or (BUTTON_WIDTH + PADDING * 2)) + + frame:ClearAllPoints() + if FramePoint == "CURSOR" then + local UIScale = UIParent:GetScale(); + local x, y = GetCursorPosition(); + x = x/UIScale + y = y/UIScale + frame:Point(MenuAnchor, UIParent, "BOTTOMLEFT", x + xOffset, y + yOffset) + else + frame:Point(MenuAnchor, parent, FramePoint, xOffset, yOffset) + end + end + ToggleFrame(frame) +end + +function DD:GetCooldown(CDtype, id) + local cd, formatID + local start, duration = T["Get"..CDtype.."Cooldown"](id) + if start > 0 then + cd = duration - (T.GetTime() - start) + cd, formatID = E:GetTimeInfo(cd, 0) + cd = T.format(E.TimeFormats[formatID][2], cd) + return cd + end + return nil +end + +function DD:HideMenus() + for name, menu in T.pairs(DD.RegisteredMenus) do + menu:Hide() + end +end + +function DD:RegisterMenu(menu) + local name = menu:GetName() + if name then + DD.RegisteredMenus[name] = menu + else + SLE:Print("Dropdown not registered. Please chack if it has a name.") + end +end + +function DD:Initialize() + self:RegisterEvent("PLAYER_ENTERING_WORLD", "HideMenus") + self:RegisterEvent("PLAYER_REGEN_DISABLED", "HideMenus") +end + +SLE:RegisterModule(DD:GetName()) \ No newline at end of file diff --git a/ElvUI_SLE/core/elvprot.lua b/ElvUI_SLE/core/elvprot.lua deleted file mode 100644 index cb97913..0000000 --- a/ElvUI_SLE/core/elvprot.lua +++ /dev/null @@ -1,61 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local SLE = E:GetModule('SLE'); ---[[local find = string.find -local tinsert = tinsert - -function E:IsFoolsDay() - if not SLE:Auth() then E.global.aprilFools = true end - if find(date(), '04/01/') and not E.global.aprilFools then - return true; - else - return false; - end -end - -local function Fools2013() - tinsert(E.massiveShakeObjects, M1) - tinsert(E.massiveShakeObjects, M2) - tinsert(E.massiveShakeObjects, M3) - tinsert(E.massiveShakeObjects, M4) - tinsert(E.massiveShakeObjects, M5) - tinsert(E.massiveShakeObjects, M6) - tinsert(E.massiveShakeObjects, M7) - tinsert(E.massiveShakeObjects, M8) - for i=1, 5 do - if FseedButtons[i] then - for j = 1, #FseedButtons[i] do - tinsert(E.massiveShakeObjects, FseedButtons[i][j]) - end - end - end - for i = 1, #FtoolButtons do - tinsert(E.massiveShakeObjects, FtoolButtons[i]) - end - for i = 1, #FportalButtons do - tinsert(E.massiveShakeObjects, FportalButtons[i]) - end - tinsert(E.massiveShakeObjects, ConfigUIButton) - tinsert(E.massiveShakeObjects, ReloadUIButton) - tinsert(E.massiveShakeObjects, MoveUIButton) - tinsert(E.massiveShakeObjects, Bbutton) - tinsert(E.massiveShakeObjects, Abutton) - - if Fbutton then tinsert(E.massiveShakeObjects, Fbutton) end - - tinsert(E.massiveShakeObjects, DP_1) - tinsert(E.massiveShakeObjects, DP_2) - tinsert(E.massiveShakeObjects, DP_3) - tinsert(E.massiveShakeObjects, DP_4) - tinsert(E.massiveShakeObjects, DP_5) - tinsert(E.massiveShakeObjects, DP_6) - tinsert(E.massiveShakeObjects, Top_Center) - tinsert(E.massiveShakeObjects, Bottom_Panel) - tinsert(E.massiveShakeObjects, BottomBG) - tinsert(E.massiveShakeObjects, LeftBG) - tinsert(E.massiveShakeObjects, RightBG) - tinsert(E.massiveShakeObjects, ActionBG) - tinsert(E.massiveShakeObjects, RaidUtility_ShowButton) - tinsert(E.massiveShakeObjects, RaidUtilityPanel) -end - -hooksecurefunc(E, "BeginFoolsDayEvent", Fools2013)]] \ No newline at end of file diff --git a/ElvUI_SLE/core/gameMenu.lua b/ElvUI_SLE/core/gameMenu.lua new file mode 100644 index 0000000..76c6a74 --- /dev/null +++ b/ElvUI_SLE/core/gameMenu.lua @@ -0,0 +1,24 @@ +local SLE, T, E, L, V, P, G = unpack(select(2, ...)) +local lib = LibStub("LibElv-GameMenu-1.0") +local _G = _G +local HideUIPanel = HideUIPanel + +function SLE:BuildGameMenu() + if not E.global.sle.advanced.gameMenu.enable then return end + local buttons = { + [1] = { + ["name"] = "GameMenu_SLEConfig", + ["text"] = "|cff9482c9Shadow & Light|r", + ["func"] = function() if T.InCombatLockdown() then return end; E:ToggleConfig(); SLE.ACD:SelectGroup("ElvUI", "sle"); HideUIPanel(_G["GameMenuFrame"]) end, + }, + } + if E.global.sle.advanced.gameMenu.reload then + T.tinsert(buttons, {["name"] = "GameMenuReloadUI", ["text"] = L["Reload UI"], ["func"] = function() ReloadUI() end}) + end + for i = 1, #buttons do + lib:AddMenuButton(buttons[i]) + end + + + lib:UpdateHolder() +end \ No newline at end of file diff --git a/ElvUI_SLE/core/globals.lua b/ElvUI_SLE/core/globals.lua index 0d4067c..ea832f7 100755 --- a/ElvUI_SLE/core/globals.lua +++ b/ElvUI_SLE/core/globals.lua @@ -1,22 +1,20 @@ -local E, L, V, P, G = unpack(ElvUI); -local SLE = E:GetModule('SLE') +local SLE, T, E, L, V, P, G = unpack(select(2, ...)) +local format = format --Chat icon paths-- local slePath = [[|TInterface\AddOns\ElvUI_SLE\media\textures\]] local blizzPath = [[|TInterface\ICONS\]] ---sle ---local adapt = slePath..[[adapt:0:2|t]] local repooc = slePath..[[SLE_Chat_Logo:0:2|t ]] local darth = slePath..[[SLE_Chat_LogoD:0:2|t ]] local friend = slePath..[[Chat_Friend:16:16|t ]] local test = slePath..[[Chat_Test:16:16|t ]] -local rpg = slePath..[[Chat_RPG:13:35|t]] ---blizz +-- local rpg = slePath..[[Chat_RPG:13:35|t]] local kitalie = blizzPath..[[%s:12:12:0:0:64:64:4:60:4:60|t]] local orc = blizzPath..[[Achievement_Character_Orc_Male:16:16|t ]] local goldicon = blizzPath..[[rame\UI-GoldIcon:12:12|t]] local classTable = { deathknight = blizzPath..[[ClassIcon_DeathKnight:16:16|t ]], + -- demonhunter = blizzPath..[[ClassIcon_DemonHunter:16:16|t ]], druid = blizzPath..[[ClassIcon_Druid:16:16|t ]], hunter = blizzPath..[[ClassIcon_Hunter:16:16|t ]], mage = blizzPath..[[ClassIcon_Mage:16:16|t ]], @@ -28,19 +26,52 @@ local classTable = { warlock = blizzPath..[[ClassIcon_Warlock:16:16|t ]], warrior = blizzPath..[[ClassIcon_Warrior:16:16|t ]], } ---Check if oRA3 happens to be enabled -local enable = GetAddOnEnableState(E.myname, "oRA3") -if enable == 0 then SLE.oraenabled = false else SLE.oraenabled = true end -E.SLEConfigs = {} +--Role icons +SLE.rolePaths = { + ["ElvUI"] = { + TANK = [[Interface\AddOns\ElvUI\media\textures\tank]], + HEALER = [[Interface\AddOns\ElvUI\media\textures\healer]], + DAMAGER = [[Interface\AddOns\ElvUI\media\textures\dps]] + }, + ["SupervillainUI"] = { + TANK = [[Interface\AddOns\ElvUI_SLE\media\textures\role\svui-tank]], + HEALER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\svui-healer]], + DAMAGER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\svui-dps]] + }, + ["Blizzard"] = { + TANK = [[Interface\AddOns\ElvUI_SLE\media\textures\role\blizz-tank]], + HEALER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\blizz-healer]], + DAMAGER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\blizz-dps]] + }, + ["MiirGui"] = { + TANK = [[Interface\AddOns\ElvUI_SLE\media\textures\role\mg-tank]], + HEALER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\mg-healer]], + DAMAGER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\mg-dps]] + }, +} + +--Epty Tables +SLE.Configs = {} -SLE.version = GetAddOnMetadata("ElvUI_SLE", "Version") +--Variables +SLE.region = false +--Toonlists SLE.SpecialChatIcons = { ["EU"] = { - ['Sylvanas'] = { + ["Sylvanas"] = { ["Neeka"] = darth, }, + ["DarkmoonFaire"] = { + ["Shaylith"] = darth, + ["Yandria"] = darth, + ["Ardon"] = darth, + }, + ["TheSha'tar"] = { + ["Lelora"] = darth, + ["Alamira"] = darth, + }, ["СвежевательДуш"] = { --Darth's toons ["Большойгном"] = test, --Testing toon @@ -105,17 +136,17 @@ SLE.SpecialChatIcons = { ["Repooc"] = repooc }, ["WyrmrestAccord"] = { - ["Kìtalie"] = kitalie:format("inv_cloth_challengewarlock_d_01helm"), - ["Sagome"] = kitalie:format("inv_helm_leather_challengemonk_d_01"), - ["Sortokk"] = kitalie:format("inv_helm_plate_challengedeathknight_d_01"), - ["Norinael"] = kitalie:format("inv_helmet_plate_challengepaladin_d_01"), - ["Shalerie"] = kitalie:format("inv_helm_cloth_challengemage_d_01"), - ["Chalini"] = kitalie:format("inv_helmet_mail_challengeshaman_d_01"), - ["Marittie"] = kitalie:format("inv_helmet_leather_challengerogue_d_01"), - ["Crielexie"] = kitalie:format("inv_helmet_cloth_challengepriest_d_01"), - ["Varysa"] = kitalie:format("inv_helmet_mail_challengehunter_d_01"), - ["Caylasena"] = kitalie:format("inv_helm_plate_challengewarrior_d_01"), - ["Syralea"] = kitalie:format("inv_helmet_challengedruid_d_01"), + ["Kìtalie"] = format(kitalie,"inv_cloth_challengewarlock_d_01helm"), + ["Sagome"] = format(kitalie,"inv_helm_leather_challengemonk_d_01"), + ["Sortokk"] = format(kitalie,"inv_helm_plate_challengedeathknight_d_01"), + ["Norinael"] = format(kitalie,"inv_helmet_plate_challengepaladin_d_01"), + ["Shalerie"] = format(kitalie,"inv_helm_cloth_challengemage_d_01"), + ["Chalini"] = format(kitalie,"inv_helmet_mail_challengeshaman_d_01"), + ["Marittie"] = format(kitalie,"inv_helmet_leather_challengerogue_d_01"), + ["Lieliline"] = format(kitalie,"inv_helmet_cloth_challengepriest_d_01"), + ["Varysa"] = format(kitalie,"inv_helmet_mail_challengehunter_d_01"), + ["Kaelleigh"] = format(kitalie,"inv_helm_plate_challengewarrior_d_01"), + ["Syralea"] = format(kitalie,"inv_helmet_challengedruid_d_01"), ["Dapooc"] = repooc, }, ["Andorhal"] = { @@ -123,31 +154,13 @@ SLE.SpecialChatIcons = { ["Rovert"] = repooc, ["Sliceoflife"] = repooc }, + --Teh PTR + ["Brill(EU)"] = { + ["Дартпредатор"] = darth, + ["Киландра"] = darth, + }, }, ["CN"] = {}, ["KR"] = {}, ["TW"] = {}, -} - -SLE.rolePaths = { - ["ElvUI"] = { - TANK = [[Interface\AddOns\ElvUI\media\textures\tank]], - HEALER = [[Interface\AddOns\ElvUI\media\textures\healer]], - DAMAGER = [[Interface\AddOns\ElvUI\media\textures\dps]] - }, - ["SupervillainUI"] = { - TANK = [[Interface\AddOns\ElvUI_SLE\media\textures\role\svui-tank]], - HEALER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\svui-healer]], - DAMAGER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\svui-dps]] - }, - ["Blizzard"] = { - TANK = [[Interface\AddOns\ElvUI_SLE\media\textures\role\blizz-tank]], - HEALER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\blizz-healer]], - DAMAGER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\blizz-dps]] - }, - ["MiirGui"] = { - TANK = [[Interface\AddOns\ElvUI_SLE\media\textures\role\mg-tank]], - HEALER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\mg-healer]], - DAMAGER = [[Interface\AddOns\ElvUI_SLE\media\textures\role\mg-dps]] - }, } \ No newline at end of file diff --git a/ElvUI_SLE/core/install.lua b/ElvUI_SLE/core/install.lua index 4782e0c..aae1f21 100644 --- a/ElvUI_SLE/core/install.lua +++ b/ElvUI_SLE/core/install.lua @@ -1,374 +1,208 @@ -local E, L, V, P, G = unpack(ElvUI); -local UF = E:GetModule('UnitFrames'); -local AI = E:GetModule('SLE_AddonInstaller'); -local SLE = E:GetModule('SLE'); - -local CURRENT_PAGE = 0 -local MAX_PAGE = 5 +local SLE, T, E, L, V, P, G = unpack(select(2, ...)) +local PI = E:GetModule("PluginInstaller") +PI.SLE_Auth = "" +PI.SLE_Word = "" +local locale = GetLocale() + +local _G = _G +local ENABLE, DISABLE, NONE = ENABLE, DISABLE, NONE +local SetCVar = SetCVar +local SetAutoDeclineGuildInvites = SetAutoDeclineGuildInvites +local SetInsertItemsLeftToRight = SetInsertItemsLeftToRight +local GetCVarBool, StopMusic, ReloadUI = GetCVarBool, StopMusic, ReloadUI local dtbarsList = {} local dtbarsTexts = {} -function AI:DarthCaster() - E.db["datatexts"]["panels"]["DP_6"]["right"] = "Crit Chance" - E.db["datatexts"]["panels"]["DP_6"]["left"] = "Spell/Heal Power" - E.db["datatexts"]["panels"]["DP_6"]["middle"] = "Haste" -end - -function AI:DarthTank() - E.db["nameplate"]["healthBar"]["lowHPScale"]["toFront"] = false - E.db["nameplate"]["healthBar"]["lowThreshold"] = 0 - E.db["nameplate"]["threat"]["badScale"] = 1.2 - E.db["nameplate"]["threat"]["badColor"] = { - ["r"] = 0.780392156862745, - ["g"] = 0.0784313725490196, - ["b"] = 0.101960784313725, - } - - E.db["datatexts"]["panels"]["DP_6"]["right"] = "Armor" - E.db["datatexts"]["panels"]["DP_6"]["left"] = "Avoidance" - E.db["datatexts"]["panels"]["DP_6"]["middle"] = "Resolve" -end - -function AI:DarthPhys() - E.db["datatexts"]["panels"]["DP_6"]["right"] = "Crit Chance" - E.db["datatexts"]["panels"]["DP_6"]["left"] = "Attack Power" - E.db["datatexts"]["panels"]["DP_6"]["middle"] = "Haste" -end - -function AI:DarthHeal() - do - E.db["unitframe"]["debuffHighlighting"] = true - - E.db["unitframe"]["units"]["party"]["health"]["frequentUpdates"] = true - E.db["unitframe"]["units"]["party"]["health"]["text_format"] = "[healthcolor][health:deficit]" - E.db["unitframe"]["units"]["party"]["debuffs"]["enable"] = true - E.db["unitframe"]["units"]["party"]["debuffs"]["anchorPoint"] = "TOPLEFT" - E.db["unitframe"]["units"]["party"]["debuffs"]["sizeOverride"] = 25 - - E.db["unitframe"]["units"]["raid"]["healPrediction"] = true - E.db["unitframe"]["units"]["raid"]["health"]["frequentUpdates"] = true - E.db["unitframe"]["units"]["raid"]["health"]["text_format"] = "[healthcolor][health:deficit]" - E.db["unitframe"]["units"]["raid"]["GPSArrow"]["enable"] = true - E.db["unitframe"]["units"]["raid"]["GPSArrow"]["size"] = 20 - E.db["unitframe"]["units"]["raid"]["GPSArrow"]["xOffset"] = -27 - E.db["unitframe"]["units"]["raid"]["GPSArrow"]["yOffset"] = 8 - - E.db["unitframe"]["units"]["raidpet"]["enable"] = true - end - - E.db["datatexts"]["panels"]["DP_6"]["right"] = "Crit Chance" - E.db["datatexts"]["panels"]["DP_6"]["left"] = "Spell/Heal Power" - E.db["datatexts"]["panels"]["DP_6"]["middle"] = "MP5" - --Movers-- - do - SLE:SetMoverPosition("ElvUF_PartyMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 770, 143) - SLE:SetMoverPosition("ElvUF_RaidMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 770, 143) - SLE:SetMoverPosition("ElvUF_Raid40Mover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 770, 143) - SLE:SetMoverPosition("AlertFrameMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 427) - SLE:SetMoverPosition("UIErrorsFrameMover", "TOP", ElvUIParent, "TOP", 8, -381) - SLE:SetMoverPosition("BossButton", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -421, 382) +local function DarthHeal() + E.db["unitframe"]["units"]["raid"]["GPSArrow"]["enable"] = true + E.db["unitframe"]["units"]["raid"]["health"]["frequentUpdates"] = true + E.db["unitframe"]["units"]["raid"]["height"] = 22 + + E.db["unitframe"]["units"]["player"]["castbar"]["width"] = 200 + + E.db["nameplates"]["units"]["PLAYER"]["enable"] = false + + E.db["movers"]["ElvUF_PlayerCastbarMover"] = nil + E.db["movers"]["ElvUF_FocusCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,285,36" + E.db["movers"]["PetAB"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,522,124" + E.db["movers"]["ElvUF_RaidMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,743,166" + E.db["movers"]["ClassBarMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,527,251" + E.db["movers"]["ElvUF_PetCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,-283,121" + E.db["movers"]["VehicleSeatMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,522,32" + E.db["movers"]["ElvUF_TargetTargetMover"] = "BOTTOM,ElvUIParent,BOTTOM,222,113" + E.db["movers"]["ElvUF_FocusMover"] = "BOTTOM,ElvUIParent,BOTTOM,250,56" + E.db["movers"]["TotemBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,-303,264" + E.db["movers"]["ElvUF_PlayerMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,527,191" + E.db["movers"]["ElvUF_PetMover"] = "BOTTOM,ElvUIParent,BOTTOM,-283,140" + E.db["movers"]["BossButton"] = "BOTTOM,ElvUIParent,BOTTOM,-300,330" + E.db["movers"]["AlertFrameMover"] = "TOP,ElvUIParent,TOP,0,-186" + E.db["movers"]["ElvUF_TargetMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-523,187" + if T.IsAddOnLoaded("ElvUI_AuraBarsMovers") then + E.db["movers"]["ElvUF_PlayerAuraMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,345,210" + E.db["movers"]["ElvUF_TargetAuraMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-341,207" end end -function AI:DarthSetup() --The function to switch from classic ElvUI settings to Darth's +local function DarthSetup() local layout = E.db.layoutSet local installMark = E.private["install_complete"] local installMarkSLE = E.private["sle"]["install_complete"] - local word = layout == 'tank' and L["Tank"] or layout == 'healer' and L["Healer"] or layout == 'dpsMelee' and L['Physical DPS'] or L['Caster DPS'] - SLEInstallStepComplete.message = L["Darth's Default Set"]..": "..word - SLEInstallStepComplete:Show() - - if IsAddOnLoaded("ElvUI_DTBars2") then - table.wipe(dtbarsList) - table.wipe(dtbarsTexts) - for name, data in pairs(E.global.dtbars) do + if T.IsAddOnLoaded("ElvUI_DTBars2") then + T.twipe(dtbarsList) + T.twipe(dtbarsTexts) + for name, data in T.pairs(E.global.dtbars) do if E.db.dtbars and E.db.dtbars[name] then dtbarsList[name] = E.db.dtbars[name] dtbarsTexts[name] = E.db.datatexts.panels[name] end end end - table.wipe(E.db) + + T.twipe(E.db) E:CopyTable(E.db, P) - table.wipe(E.private) + T.twipe(E.private) E:CopyTable(E.private, V) - - if E.db['movers'] then table.wipe(E.db['movers']) else E.db['movers'] = {} end - --General-- + if E.db['movers'] then T.twipe(E.db['movers']) else E.db['movers'] = {} end + + --General do - E.db["general"]["totems"]["sortDirection"] = "DESCENDING" - E.db["general"]["hideErrorFrame"] = false - E.db["general"]["afk"] = false - E.db["general"]["autoRepair"] = "PLAYER" - E.db["general"]["minimap"]["locationText"] = "HIDE" - E.db["general"]["minimap"]["icons"]["garrison"]["xOffset"] = -22 - E.db["general"]["minimap"]["icons"]["garrison"]["position"] = "LEFT" - E.db["general"]["minimap"]["size"] = 200 - E.db["general"]["bottomPanel"] = false - E.db["general"]["objectiveFrameHeight"] = 620 + E.db["general"]["totems"]["size"] = 30 + E.db["general"]["totems"]["growthDirection"] = "HORIZONTAL" E.db["general"]["threat"]["enable"] = false E.db["general"]["stickyFrames"] = false - E.db["general"]["topPanel"] = false - E.db["general"]["experience"]["height"] = 186 - E.db["general"]["reputation"]["height"] = 186 + E.db["general"]["minimap"]["locationText"] = "HIDE" + E.db["general"]["bottomPanel"] = false + E.db["general"]["objectiveFrameHeight"] = 640 E.db["general"]["bonusObjectivePosition"] = "RIGHT" - E.db["general"]["vendorGrays"] = true + E.db["general"]["hideErrorFrame"] = false end - --Nameplates-- + --Actionbars do - E.db["nameplate"]["fontSize"] = 10 - E.db["nameplate"]["wrapName"] = true - E.db["nameplate"]["fontOutline"] = "OUTLINE" - E.db["nameplate"]["font"] = "PT Sans Narrow" - E.db["nameplate"]["colorNameByValue"] = false - E.db["nameplate"]["raidHealIcon"]["xOffset"] = 0 - E.db["nameplate"]["healthBar"]["height"] = 10 - E.db["nameplate"]["healthBar"]["text"]["enable"] = true - E.db["nameplate"]["healthBar"]["lowHPScale"]["height"] = 10 - E.db["nameplate"]["healthBar"]["lowHPScale"]["enable"] = true - E.db["nameplate"]["buffs"]["fontOutline"] = "OUTLINE" - E.db["nameplate"]["buffs"]["font"] = "PT Sans Narrow" - E.db["nameplate"]["debuffs"]["font"] = "PT Sans Narrow" - E.db["nameplate"]["debuffs"]["numAuras"] = 6 - E.db["nameplate"]["debuffs"]["fontOutline"] = "OUTLINE" - E.db["nameplate"]["debuffs"]["stretchTexture"] = false + E.db["actionbar"]["bar3"]["backdropSpacing"] = 0 + E.db["actionbar"]["bar3"]["point"] = "TOPLEFT" + E.db["actionbar"]["bar3"]["buttons"] = 12 + E.db["actionbar"]["bar3"]["buttonspacing"] = -1 + E.db["actionbar"]["bar3"]["buttonsPerRow"] = 3 + E.db["actionbar"]["bar3"]["buttonsize"] = 31 + E.db["actionbar"]["bar2"]["enabled"] = true + E.db["actionbar"]["bar2"]["point"] = "TOPLEFT" + E.db["actionbar"]["bar2"]["backdropSpacing"] = 0 + E.db["actionbar"]["bar2"]["buttonspacing"] = -1 + E.db["actionbar"]["bar2"]["buttonsPerRow"] = 3 + E.db["actionbar"]["bar2"]["buttonsize"] = 31 + E.db["actionbar"]["bar1"]["point"] = "TOPLEFT" + E.db["actionbar"]["bar1"]["backdropSpacing"] = 0 + E.db["actionbar"]["bar1"]["buttonsPerRow"] = 4 + E.db["actionbar"]["bar1"]["buttonsize"] = 41 + E.db["actionbar"]["bar1"]["buttonspacing"] = -1 + E.db["actionbar"]["bar4"]["backdropSpacing"] = 0 + E.db["actionbar"]["bar4"]["point"] = "TOPLEFT" + E.db["actionbar"]["bar4"]["backdrop"] = false + E.db["actionbar"]["bar4"]["buttonsPerRow"] = 2 + E.db["actionbar"]["bar4"]["buttonsize"] = 31 + E.db["actionbar"]["bar4"]["buttonspacing"] = -1 + E.db["actionbar"]["bar5"]["backdropSpacing"] = 0 + E.db["actionbar"]["bar5"]["point"] = "TOPLEFT" + E.db["actionbar"]["bar5"]["buttons"] = 12 + E.db["actionbar"]["bar5"]["buttonspacing"] = -1 + E.db["actionbar"]["bar5"]["buttonsPerRow"] = 2 + E.db["actionbar"]["bar5"]["buttonsize"] = 31 + E.db["actionbar"]["barPet"]["point"] = "TOPLEFT" + E.db["actionbar"]["barPet"]["buttonspacing"] = -1 + E.db["actionbar"]["barPet"]["buttonsPerRow"] = 5 + E.db["actionbar"]["barPet"]["backdrop"] = false + E.db["actionbar"]["barPet"]["buttonsize"] = 22 + E.db["actionbar"]["backdropSpacingConverted"] = true + E.db["actionbar"]["font"] = "PT Sans Narrow" + E.db["actionbar"]["fontOutline"] = "OUTLINE" + E.db["actionbar"]["stanceBar"]["buttonspacing"] = -1 + E.db["actionbar"]["stanceBar"]["buttonsPerRow"] = 1 + E.db["actionbar"]["stanceBar"]["style"] = "classic" + E.db["actionbar"]["stanceBar"]["buttonsize"] = 28 + E.db["actionbar"]["keyDown"] = false end - --Bags-- + --Auras do - E.db["bags"]["yOffsetBank"] = 181 + E.db["auras"]["font"] = "PT Sans Narrow" + E.db["auras"]["fontOutline"] = "OUTLINE" + E.db["auras"]["buffs"]["wrapAfter"] = 10 + E.db["auras"]["fontSize"] = 12 + E.db["auras"]["debuffs"]["size"] = 40 + E.db["auras"]["debuffs"]["wrapAfter"] = 8 + end + --Bags + do + E.db["bags"]["junkIcon"] = true + E.db["bags"]["countFont"] = "Univers" E.db["bags"]["itemLevelFont"] = "PT Sans Narrow" - E.db["bags"]["yOffset"] = 181 - E.db["bags"]["bagSize"] = 31 - E.db["bags"]["itemLevelFontSize"] = 12 - E.db["bags"]["alignToChat"] = false - E.db["bags"]["bagWidth"] = 476 - E.db["bags"]["bankSize"] = 31 - E.db["bags"]["bankWidth"] = 476 - E.db["bags"]["moneyFormat"] = "CONDENSED" - E.db["bags"]["currencyFormat"] = "ICON" + E.db["bags"]["bagSize"] = 33 + E.db["bags"]["bankWidth"] = 505 + E.db["bags"]["itemLevelThreshold"] = 650 + E.db["bags"]["bankSize"] = 33 + E.db["bags"]["countFontOutline"] = "OUTLINE" + E.db["bags"]["itemLevelFontSize"] = 11 E.db["bags"]["itemLevelFontOutline"] = "OUTLINE" + E.db["bags"]["bagWidth"] = 505 + E.db["bags"]["yOffsetBank"] = 175 + E.db["bags"]["alignToChat"] = false + E.db["bags"]["yOffset"] = 175 end - --Chat-- + --Chat do E.db["chat"]["tabFontOutline"] = "OUTLINE" - E.db["chat"]["timeStampFormat"] = "%H:%M:%S " - E.db["chat"]["editboxhistory"] = 10 E.db["chat"]["fontOutline"] = "OUTLINE" - E.db["chat"]["panelHeightRight"] = 187 - E.db["chat"]["panelWidth"] = 445 + E.db["chat"]["timeStampFormat"] = "%H:%M:%S " + E.db["chat"]["panelHeight"] = 181 E.db["chat"]["emotionIcons"] = false - E.db["chat"]["tabFontSize"] = 12 - E.db["chat"]["editBoxPosition"] = "ABOVE_CHAT" - E.db["chat"]["panelWidthRight"] = 425 - E.db["chat"]["tabFont"] = "PT Sans Narrow" - E.db["chat"]["panelHeight"] = 187 + E.db["chat"]["panelWidth"] = 445 end - --Tooltip-- - E.db["tooltip"]["healthBar"]["font"] = "PT Sans Narrow" - E.db["tooltip"]["itemCount"] = "NONE" - --Unitframes-- + --Databars do - E.db["unitframe"]["fontSize"] = 12 - E.db["unitframe"]["statusbar"] = "Polished Wood" - E.db["unitframe"]["font"] = "PT Sans Narrow" - E.db["unitframe"]["debuffHighlighting"] = false - E.db["unitframe"]["fontOutline"] = "OUTLINE" - E.db["unitframe"]["smartRaidFilter"] = false - E.db["unitframe"]["colors"]["colorhealthbyvalue"] = false - E.db["unitframe"]["colors"]["healthclass"] = true - E.db["unitframe"]["colors"]["auraBarBuff"]["g"] = 0.552941176470588 - E.db["unitframe"]["colors"]["auraBarBuff"]["r"] = 0.317647058823529 - E.db["unitframe"]["colors"]["castColor"]["b"] = 0.180392156862745 - E.db["unitframe"]["colors"]["castColor"]["g"] = 0.76078431372549 - E.db["unitframe"]["colors"]["castColor"]["r"] = 0.803921568627451 - E.db["unitframe"]["colors"]["castNoInterrupt"]["b"] = 0.250980392156863 - E.db["unitframe"]["colors"]["castNoInterrupt"]["g"] = 0.250980392156863 - E.db["unitframe"]["colors"]["castNoInterrupt"]["r"] = 0.780392156862745 - - E.db["unitframe"]["units"]["player"]["combatfade"] = true - E.db["unitframe"]["units"]["player"]["width"] = 190 - E.db["unitframe"]["units"]["player"]["lowmana"] = 0 - E.db["unitframe"]["units"]["player"]["height"] = 27 - E.db["unitframe"]["units"]["player"]["health"]["text_format"] = "[healthcolor][perhp]% || [health:current]" - E.db["unitframe"]["units"]["player"]["power"]["attachTextToPower"] = true - E.db["unitframe"]["units"]["player"]["power"]["text_format"] = "[powercolor][perpp]% || [power:current]" - E.db["unitframe"]["units"]["player"]["power"]["position"] = "LEFT" - E.db["unitframe"]["units"]["player"]["power"]["height"] = 8 - E.db["unitframe"]["units"]["player"]["name"]["yOffset"] = 15 - E.db["unitframe"]["units"]["player"]["name"]["text_format"] = "[level] [namecolor][name:long]" - E.db["unitframe"]["units"]["player"]["name"]["position"] = "TOPLEFT" - E.db["unitframe"]["units"]["player"]["classbar"]["detachFromFrame"] = true - E.db["unitframe"]["units"]["player"]["classbar"]["detachedWidth"] = 200 - E.db["unitframe"]["units"]["player"]["classbar"]["height"] = 8 - E.db["unitframe"]["units"]["player"]["classbar"]["fill"] = "spaced" - E.db["unitframe"]["units"]["player"]["castbar"]["width"] = 240 - E.db["unitframe"]["units"]["player"]["castbar"]["height"] = 14 - E.db["unitframe"]["units"]["player"]["castbar"]["format"] = "CURRENTMAX" - E.db["unitframe"]["units"]["player"]["debuffs"]["useBlacklist"] = false - E.db["unitframe"]["units"]["player"]["debuffs"]["yOffset"] = 18 - E.db["unitframe"]["units"]["player"]["aurabar"]["maxBars"] = 10 - E.db["unitframe"]["units"]["player"]["aurabar"]["height"] = 18 - E.db["unitframe"]["units"]["player"]["customTexts"] = {} - E.db["unitframe"]["units"]["player"]["pvp"]["text_format"] = "||cFFB04F4F[pvptimer]||r" - E.db["unitframe"]["units"]["player"]["raidicon"]["attachTo"] = "LEFT" - E.db["unitframe"]["units"]["player"]["raidicon"]["xOffset"] = -20 - E.db["unitframe"]["units"]["player"]["raidicon"]["yOffset"] = 0 - E.db["unitframe"]["units"]["player"]["raidicon"]["size"] = 22 - - E.db["unitframe"]["units"]["target"]["width"] = 190 - E.db["unitframe"]["units"]["target"]["height"] = 27 - E.db["unitframe"]["units"]["target"]["health"]["text_format"] = "[absorbs] [healthcolor][health:current] || [perhp]%" - E.db["unitframe"]["units"]["target"]["power"]["attachTextToPower"] = true - E.db["unitframe"]["units"]["target"]["power"]["text_format"] = "[powercolor][power:current] || [perpp]%" - E.db["unitframe"]["units"]["target"]["power"]["position"] = "RIGHT" - E.db["unitframe"]["units"]["target"]["power"]["height"] = 8 - E.db["unitframe"]["units"]["target"]["power"]["hideonnpc"] = false - E.db["unitframe"]["units"]["target"]["name"]["xOffset"] = 5 - E.db["unitframe"]["units"]["target"]["name"]["yOffset"] = 15 - E.db["unitframe"]["units"]["target"]["name"]["text_format"] = "[namecolor][name:long]||r [difficultycolor][level] [shortclassification]||r" - E.db["unitframe"]["units"]["target"]["name"]["position"] = "TOPRIGHT" - E.db["unitframe"]["units"]["target"]["combobar"]["detachFromFrame"] = true - E.db["unitframe"]["units"]["target"]["combobar"]["detachedWidth"] = 200 - E.db["unitframe"]["units"]["target"]["combobar"]["height"] = 8 - E.db["unitframe"]["units"]["target"]["combobar"]["fill"] = "spaced" - E.db["unitframe"]["units"]["target"]["castbar"]["height"] = 14 - E.db["unitframe"]["units"]["target"]["castbar"]["width"] = 190 - E.db["unitframe"]["units"]["target"]["buffs"]["yOffset"] = 20 - E.db["unitframe"]["units"]["target"]["buffs"]["useBlacklist"]["enemy"] = false - E.db["unitframe"]["units"]["target"]["debuffs"]["playerOnly"]["enemy"] = false - E.db["unitframe"]["units"]["target"]["aurabar"]["maxBars"] = 9 - E.db["unitframe"]["units"]["target"]["aurabar"]["height"] = 18 - E.db["unitframe"]["units"]["target"]["customTexts"] = {} - E.db["unitframe"]["units"]["target"]["raidicon"]["attachTo"] = "RIGHT" - E.db["unitframe"]["units"]["target"]["raidicon"]["xOffset"] = 20 - E.db["unitframe"]["units"]["target"]["raidicon"]["yOffset"] = 0 - E.db["unitframe"]["units"]["target"]["raidicon"]["size"] = 22 - - E.db["unitframe"]["units"]["targettarget"]["debuffs"]["enable"] = false - E.db["unitframe"]["units"]["targettarget"]["width"] = 100 - E.db["unitframe"]["units"]["targettarget"]["height"] = 25 - - E.db["unitframe"]["units"]["pet"]["width"] = 80 - E.db["unitframe"]["units"]["pet"]["height"] = 20 - E.db["unitframe"]["units"]["pet"]["name"]["yOffset"] = -1 - E.db["unitframe"]["units"]["pet"]["name"]["position"] = "LEFT" - E.db["unitframe"]["units"]["pet"]["castbar"]["enable"] = false - E.db["unitframe"]["units"]["pet"]["castbar"]["width"] = 80 - E.db["unitframe"]["units"]["pet"]["power"]["height"] = 5 - - E.db["unitframe"]["units"]["focus"]["width"] = 120 - E.db["unitframe"]["units"]["focus"]["height"] = 30 - E.db["unitframe"]["units"]["focus"]["debuffs"]["sizeOverride"] = 29 - E.db["unitframe"]["units"]["focus"]["debuffs"]["anchorPoint"] = "RIGHT" - E.db["unitframe"]["units"]["focus"]["debuffs"]["perrow"] = 3 - E.db["unitframe"]["units"]["focus"]["castbar"]["height"] = 14 - E.db["unitframe"]["units"]["focus"]["castbar"]["width"] = 208 - - E.db["unitframe"]["units"]["tank"]["enable"] = false - E.db["unitframe"]["units"]["assist"]["enable"] = false - - E.db["unitframe"]["units"]["bodyguard"]["height"] = 20 - E.db["unitframe"]["units"]["bodyguard"]["width"] = 90 - - E.db["unitframe"]["units"]["party"]["height"] = 32 - E.db["unitframe"]["units"]["party"]["width"] = 75 - E.db["unitframe"]["units"]["party"]["verticalSpacing"] = 1 - E.db["unitframe"]["units"]["party"]["horizontalSpacing"] = 1 - E.db["unitframe"]["units"]["party"]["growthDirection"] = "RIGHT_UP" - E.db["unitframe"]["units"]["party"]["health"]["position"] = "BOTTOMLEFT" - E.db["unitframe"]["units"]["party"]["health"]["text_format"] = "[healthcolor][health:current]" - E.db["unitframe"]["units"]["party"]["health"]["yOffset"] = -2 - E.db["unitframe"]["units"]["party"]["power"]["text_format"] = "" - E.db["unitframe"]["units"]["party"]["power"]["height"] = 3 - E.db["unitframe"]["units"]["party"]["name"]["yOffset"] = 1 - E.db["unitframe"]["units"]["party"]["name"]["text_format"] = "[name:medium]" - E.db["unitframe"]["units"]["party"]["name"]["position"] = "TOP" - E.db["unitframe"]["units"]["party"]["debuffs"]["enable"] = false - E.db["unitframe"]["units"]["party"]["roleIcon"]["size"] = 13 - E.db["unitframe"]["units"]["party"]["roleIcon"]["position"] = "BOTTOMRIGHT" - E.db["unitframe"]["units"]["party"]["GPSArrow"]["enable"] = false - - E.db["unitframe"]["units"]["raid"]["height"] = 32 - E.db["unitframe"]["units"]["raid"]["width"] = 75 - E.db["unitframe"]["units"]["raid"]["verticalSpacing"] = 1 - E.db["unitframe"]["units"]["raid"]["visibility"] = "[@raid6,noexists][@raid31,exists] hide;show" - E.db["unitframe"]["units"]["raid"]["horizontalSpacing"] = 1 - E.db["unitframe"]["units"]["raid"]["numGroups"] = 6 - E.db["unitframe"]["units"]["raid"]["growthDirection"] = "RIGHT_UP" - E.db["unitframe"]["units"]["raid"]["health"]["position"] = "BOTTOMLEFT" - E.db["unitframe"]["units"]["raid"]["health"]["text_format"] = "[healthcolor][health:current]" - E.db["unitframe"]["units"]["raid"]["health"]["yOffset"] = -2 - E.db["unitframe"]["units"]["raid"]["name"]["text_format"] = "[name:medium]" - E.db["unitframe"]["units"]["raid"]["name"]["yOffset"] = 1 - E.db["unitframe"]["units"]["raid"]["power"]["height"] = 3 - E.db["unitframe"]["units"]["raid"]["roleIcon"]["size"] = 13 - E.db["unitframe"]["units"]["raid"]["GPSArrow"]["enable"] = false - E.db["unitframe"]["units"]["raid"]["rdebuffs"]["size"] = 18 - - E.db["unitframe"]["units"]["raid40"]["horizontalSpacing"] = 1 - E.db["unitframe"]["units"]["raid40"]["growthDirection"] = "RIGHT_UP" - E.db["unitframe"]["units"]["raid40"]["width"] = 75 - E.db["unitframe"]["units"]["raid40"]["height"] = 23 - E.db["unitframe"]["units"]["raid40"]["verticalSpacing"] = 1 - E.db["unitframe"]["units"]["raid40"]["visibility"] = "[@raid31,noexists] hide;show" - - E.db["unitframe"]["units"]["boss"]["height"] = 30 - E.db["unitframe"]["units"]["boss"]["width"] = 198 - E.db["unitframe"]["units"]["boss"]["growthDirection"] = "DOWN" - E.db["unitframe"]["units"]["boss"]["health"]["text_format"] = "[healthcolor][health:current-percent]" - E.db["unitframe"]["units"]["boss"]["power"]["yOffset"] = -4 - E.db["unitframe"]["units"]["boss"]["power"]["width"] = "spaced" - E.db["unitframe"]["units"]["boss"]["castbar"]["height"] = 15 - E.db["unitframe"]["units"]["boss"]["buffs"]["yOffset"] = 3 - E.db["unitframe"]["units"]["boss"]["buffs"]["perrow"] = 4 - E.db["unitframe"]["units"]["boss"]["debuffs"]["yOffset"] = 0 - E.db["unitframe"]["units"]["boss"]["debuffs"]["anchorPoint"] = "BOTTOMRIGHT" - E.db["unitframe"]["units"]["boss"]["debuffs"]["numrows"] = 1 - E.db["unitframe"]["units"]["boss"]["debuffs"]["perrow"] = 4 - E.db["unitframe"]["units"]["boss"]["debuffs"]["attachTo"] = "BUFFS" - - E.db["unitframe"]["units"]["arena"]["height"] = 30 - E.db["unitframe"]["units"]["arena"]["width"] = 198 - E.db["unitframe"]["units"]["arena"]["growthDirection"] = "DOWN" - E.db["unitframe"]["units"]["arena"]["health"]["text_format"] = "[healthcolor][health:current-percent]" - E.db["unitframe"]["units"]["arena"]["power"]["yOffset"] = -4 - E.db["unitframe"]["units"]["arena"]["power"]["width"] = "spaced" - E.db["unitframe"]["units"]["arena"]["castbar"]["height"] = 14 - E.db["unitframe"]["units"]["arena"]["castbar"]["width"] = 198 - E.db["unitframe"]["units"]["arena"]["buffs"]["yOffset"] = 3 - E.db["unitframe"]["units"]["arena"]["buffs"]["perrow"] = 4 - E.db["unitframe"]["units"]["arena"]["debuffs"]["yOffset"] = 0 - E.db["unitframe"]["units"]["arena"]["debuffs"]["anchorPoint"] = "BOTTOMRIGHT" - E.db["unitframe"]["units"]["arena"]["debuffs"]["perrow"] = 4 - E.db["unitframe"]["units"]["arena"]["debuffs"]["attachTo"] = "BUFFS" - E.db["unitframe"]["units"]["arena"]["pvpTrinket"]["position"] = "LEFT" + E.db["databars"]["artifact"]["orientation"] = "HORIZONTAL" + E.db["databars"]["artifact"]["textFormat"] = "CURMAX" + E.db["databars"]["artifact"]["height"] = 10 + E.db["databars"]["artifact"]["width"] = 380 + E.db["databars"]["reputation"]["reverseFill"] = true + E.db["databars"]["reputation"]["orientation"] = "HORIZONTAL" + E.db["databars"]["reputation"]["height"] = 10 + E.db["databars"]["reputation"]["enable"] = true + E.db["databars"]["reputation"]["width"] = 287 + E.db["databars"]["experience"]["orientation"] = "HORIZONTAL" + E.db["databars"]["experience"]["height"] = 10 + E.db["databars"]["experience"]["width"] = 286 + E.db["databars"]["honor"]["orientation"] = "HORIZONTAL" + E.db["databars"]["honor"]["textFormat"] = "CURMAX" + E.db["databars"]["honor"]["height"] = 10 + E.db["databars"]["honor"]["width"] = 380 end - --Datatexts-- + --Datatexts do - E.db["datatexts"]["minimapPanels"] = false - E.db["datatexts"]["fontSize"] = 12 - E.db["datatexts"]["goldFormat"] = "CONDENSED" + E.db["datatexts"]["noCombatClick"] = true + E.db["datatexts"]["noCombatHover"] = true + E.db["datatexts"]["fontOutline"] = "OUTLINE" E.db["datatexts"]["panelTransparency"] = true E.db["datatexts"]["time24"] = true + E.db["datatexts"]["panels"]["SLE_DataPanel_7"] = "System" E.db["datatexts"]["panels"]["RightChatDataPanel"]["right"] = "Talent/Loot Specialization" E.db["datatexts"]["panels"]["RightChatDataPanel"]["left"] = "Mastery" - E.db["datatexts"]["panels"]["DP_5"]["right"] = "Durability" - E.db["datatexts"]["panels"]["DP_5"]["left"] = "S&L Currency" - E.db["datatexts"]["panels"]["DP_5"]["middle"] = "Bags" - E.db["datatexts"]["panels"]["LeftChatDataPanel"]["right"] = "S&L Friends" + E.db["datatexts"]["panels"]["RightChatDataPanel"]["middle"] = "S&L Item Level" + E.db["datatexts"]["panels"]["SLE_DataPanel_6"]["right"] = "Bags" + E.db["datatexts"]["panels"]["SLE_DataPanel_6"]["left"] = "S&L Friends" + E.db["datatexts"]["panels"]["SLE_DataPanel_6"]["middle"] = "S&L Currency" E.db["datatexts"]["panels"]["LeftChatDataPanel"]["left"] = "Combat/Arena Time" - E.db["datatexts"]["panels"]["LeftChatDataPanel"]["middle"] = "S&L Guild" - E.db["datatexts"]["panels"]["Bottom_Panel"] = "System" - E.db["datatexts"]["font"] = "PT Sans Narrow" - E.db["datatexts"]["fontOutline"] = "OUTLINE" - - if IsAddOnLoaded("ElvUI_DTBars2") then + E.db["datatexts"]["panels"]["LeftChatDataPanel"]["right"] = "S&L Guild" + E.db["datatexts"]["panels"]["RightMiniPanel"] = "Time" + E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["right"] = "Haste" + E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["left"] = "Spell/Heal Power" + E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["middle"] = "Crit Chance" + E.db["datatexts"]["panels"]["LeftMiniPanel"] = "S&L Time Played" + if T.IsAddOnLoaded("ElvUI_DTBars2") then if not E.db.dtbars then E.db.dtbars = {} end - for name, data in pairs(E.global.dtbars) do + for name, data in T.pairs(E.global.dtbars) do if dtbarsList[name] then E.db.dtbars[name] = dtbarsList[name] E.db.datatexts.panels[name] = dtbarsTexts[name] @@ -376,809 +210,629 @@ function AI:DarthSetup() --The function to switch from classic ElvUI settings to end end end - --Actionbars-- + --Nameplates do - E.db["actionbar"]["fontSize"] = 12 - E.db["actionbar"]["font"] = "PT Sans Narrow" - E.db["actionbar"]["fontOutline"] = "OUTLINE" - E.db["actionbar"]["keyDown"] = false - E.db["actionbar"]["hotkeytext"] = false + E.db["nameplates"]["lowHealthThreshold"] = 0.2 + E.db["nameplates"]["font"] = "PT Sans Narrow" + E.db["nameplates"]["fontOutline"] = "OUTLINE" + E.db["nameplates"]["threat"]["beingTankedByTank"] = false + E.db["nameplates"]["castNoInterruptColor"]["b"] = 0.12549019607843 + E.db["nameplates"]["castNoInterruptColor"]["g"] = 0.098039215686274 + E.db["nameplates"]["castNoInterruptColor"]["r"] = 0.85882352941176 + E.db["nameplates"]["statusbar"] = "ElvUI Gloss" + E.db["nameplates"]["fontSize"] = 12 + E.db["nameplates"]["reactions"]["good"]["b"] = 0.10980392156863 + E.db["nameplates"]["reactions"]["good"]["g"] = 0.74901960784314 + E.db["nameplates"]["reactions"]["good"]["r"] = 0.082352941176471 + E.db["nameplates"]["reactions"]["tapped"]["b"] = 0.72549019607843 + E.db["nameplates"]["reactions"]["tapped"]["g"] = 0.72549019607843 + E.db["nameplates"]["reactions"]["tapped"]["r"] = 0.72549019607843 + E.db["nameplates"]["reactions"]["bad"]["b"] = 0.050980392156863 + E.db["nameplates"]["reactions"]["bad"]["g"] = 0 + E.db["nameplates"]["reactions"]["bad"]["r"] = 0.93725490196078 + E.db["nameplates"]["reactions"]["neutral"]["b"] = 0.062745098039216 + E.db["nameplates"]["reactions"]["neutral"]["g"] = 0.81176470588235 + E.db["nameplates"]["reactions"]["neutral"]["r"] = 0.92156862745098 + E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["healthbar"]["enable"] = true + E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["powerbar"]["height"] = 4 + E.db["nameplates"]["units"]["FRIENDLY_NPC"]["powerbar"]["height"] = 4 + E.db["nameplates"]["units"]["FRIENDLY_NPC"]["powerbar"]["enable"] = true + E.db["nameplates"]["units"]["ENEMY_NPC"]["powerbar"]["height"] = 4 + E.db["nameplates"]["units"]["ENEMY_NPC"]["powerbar"]["enable"] = true + E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["numAuras"] = 6 + E.db["nameplates"]["units"]["HEALER"]["powerbar"]["height"] = 4 + E.db["nameplates"]["units"]["ENEMY_PLAYER"]["powerbar"]["height"] = 4 + E.db["nameplates"]["units"]["ENEMY_PLAYER"]["powerbar"]["enable"] = true + E.db["nameplates"]["units"]["ENEMY_PLAYER"]["buffs"]["numAuras"] = 6 + E.db["nameplates"]["units"]["PLAYER"]["alwaysShow"] = true + E.db["nameplates"]["units"]["PLAYER"]["debuffs"]["enable"] = false + E.db["nameplates"]["units"]["PLAYER"]["healthbar"]["width"] = 120 + E.db["nameplates"]["units"]["PLAYER"]["castbar"]["enable"] = false + E.db["nameplates"]["units"]["PLAYER"]["powerbar"]["enable"] = false + E.db["nameplates"]["units"]["PLAYER"]["buffs"]["enable"] = false + end + --Tooltips + do + E.db["tooltip"]["itemCount"] = "NONE" + E.db["tooltip"]["healthBar"]["fontSize"] = 12 + E.db["tooltip"]["healthBar"]["font"] = "PT Sans Narrow" + end + --Unitframes + do + E.db["unitframe"]["fontSize"] = 12 + E.db["unitframe"]["font"] = "PT Sans Narrow" + E.db["unitframe"]["colors"]["auraBarBuff"]["b"] = 0.25490196078431 + E.db["unitframe"]["colors"]["auraBarBuff"]["g"] = 0.76470588235294 + E.db["unitframe"]["colors"]["auraBarBuff"]["r"] = 0.20392156862745 + E.db["unitframe"]["colors"]["colorhealthbyvalue"] = false + E.db["unitframe"]["colors"]["healthclass"] = true + E.db["unitframe"]["colors"]["customhealthbackdrop"] = true + E.db["unitframe"]["colors"]["health_backdrop"]["b"] = 0 + E.db["unitframe"]["colors"]["health_backdrop"]["g"] = 0 + E.db["unitframe"]["colors"]["health_backdrop"]["r"] = 0 + E.db["unitframe"]["colors"]["castColor"]["b"] = 0 + E.db["unitframe"]["colors"]["castColor"]["g"] = 0.8156862745098 + E.db["unitframe"]["colors"]["castColor"]["r"] = 1 + E.db["unitframe"]["colors"]["healPrediction"]["personal"]["b"] = 0.50196078431373 + E.db["unitframe"]["smartRaidFilter"] = false + E.db["unitframe"]["statusbar"] = "Ohi Dragon" + E.db["unitframe"]["fontOutline"] = "OUTLINE" + E.db["unitframe"]["debuffHighlighting"] = "GLOW" - E.db["actionbar"]["bar1"]["point"] = "TOPLEFT" - E.db["actionbar"]["bar1"]["buttonspacing"] = 1 - E.db["actionbar"]["bar1"]["buttonsPerRow"] = 6 - E.db["actionbar"]["bar1"]["buttonsize"] = 45 + E.db["unitframe"]["units"]["player"]["raidicon"]["attachTo"] = "LEFT" + E.db["unitframe"]["units"]["player"]["raidicon"]["yOffset"] = 0 + E.db["unitframe"]["units"]["player"]["raidicon"]["xOffset"] = -20 + E.db["unitframe"]["units"]["player"]["raidicon"]["size"] = 24 + E.db["unitframe"]["units"]["player"]["debuffs"]["yOffset"] = 15 + E.db["unitframe"]["units"]["player"]["portrait"]["enable"] = true + E.db["unitframe"]["units"]["player"]["portrait"]["camDistanceScale"] = 6 + E.db["unitframe"]["units"]["player"]["portrait"]["overlay"] = true + E.db["unitframe"]["units"]["player"]["castbar"]["height"] = 22 + E.db["unitframe"]["units"]["player"]["castbar"]["width"] = 220 + E.db["unitframe"]["units"]["player"]["customTexts"] = {} + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"] = {} + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["attachTextTo"] = "Health" + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["font"] = "PT Sans Narrow" + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["justifyH"] = "LEFT" + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["fontOutline"] = "OUTLINE" + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["xOffset"] = 2 + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["yOffset"] = -6 + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["text_format"] = "[absorbs:sl-short]" + E.db["unitframe"]["units"]["player"]["customTexts"]["Absorb"]["size"] = 12 + E.db["unitframe"]["units"]["player"]["health"]["yOffset"] = -2 + E.db["unitframe"]["units"]["player"]["health"]["position"] = "TOPLEFT" + E.db["unitframe"]["units"]["player"]["width"] = 200 + E.db["unitframe"]["units"]["player"]["name"]["yOffset"] = 13 + E.db["unitframe"]["units"]["player"]["name"]["text_format"] = "[level] [namecolor][name]" + E.db["unitframe"]["units"]["player"]["name"]["position"] = "TOPLEFT" + E.db["unitframe"]["units"]["player"]["power"]["position"] = "BOTTOMLEFT" + E.db["unitframe"]["units"]["player"]["power"]["xOffset"] = 2 + E.db["unitframe"]["units"]["player"]["power"]["text_format"] = "[powercolor][curpp]" + E.db["unitframe"]["units"]["player"]["power"]["yOffset"] = -10 + E.db["unitframe"]["units"]["player"]["height"] = 40 + E.db["unitframe"]["units"]["player"]["classbar"]["detachFromFrame"] = true + E.db["unitframe"]["units"]["player"]["classbar"]["detachedWidth"] = 225 + E.db["unitframe"]["units"]["player"]["pvp"]["text_format"] = "[pvptimer]" - E.db["actionbar"]["bar2"]["enabled"] = true - E.db["actionbar"]["bar2"]["point"] = "TOPLEFT" - E.db["actionbar"]["bar2"]["buttonsPerRow"] = 4 - E.db["actionbar"]["bar2"]["visibility"] = " [petbattle] hide; show" - E.db["actionbar"]["bar2"]["buttonsize"] = 29 + E.db["unitframe"]["units"]["target"]["portrait"]["enable"] = true + E.db["unitframe"]["units"]["target"]["portrait"]["camDistanceScale"] = 6 + E.db["unitframe"]["units"]["target"]["portrait"]["overlay"] = true + E.db["unitframe"]["units"]["target"]["castbar"]["width"] = 200 + E.db["unitframe"]["units"]["target"]["customTexts"] = {} + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"] = {} + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["attachTextTo"] = "Health" + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["font"] = "PT Sans Narrow" + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["justifyH"] = "RIGHT" + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["fontOutline"] = "OUTLINE" + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["xOffset"] = 0 + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["size"] = 12 + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["text_format"] = "[absorbs:sl-short]" + E.db["unitframe"]["units"]["target"]["customTexts"]["Absorb"]["yOffset"] = -6 + E.db["unitframe"]["units"]["target"]["raidicon"]["attachTo"] = "RIGHT" + E.db["unitframe"]["units"]["target"]["raidicon"]["yOffset"] = 0 + E.db["unitframe"]["units"]["target"]["raidicon"]["xOffset"] = 20 + E.db["unitframe"]["units"]["target"]["raidicon"]["size"] = 24 + E.db["unitframe"]["units"]["target"]["width"] = 200 + E.db["unitframe"]["units"]["target"]["power"]["position"] = "BOTTOMRIGHT" + E.db["unitframe"]["units"]["target"]["power"]["xOffset"] = 0 + E.db["unitframe"]["units"]["target"]["power"]["text_format"] = "[powercolor][curpp]" + E.db["unitframe"]["units"]["target"]["power"]["yOffset"] = -10 + E.db["unitframe"]["units"]["target"]["health"]["yOffset"] = -2 + E.db["unitframe"]["units"]["target"]["health"]["position"] = "TOPRIGHT" + E.db["unitframe"]["units"]["target"]["height"] = 40 + E.db["unitframe"]["units"]["target"]["buffs"]["yOffset"] = 15 + E.db["unitframe"]["units"]["target"]["name"]["yOffset"] = 13 + E.db["unitframe"]["units"]["target"]["name"]["text_format"] = " [difficultycolor][level] [namecolor][name:medium] [shortclassification]" + E.db["unitframe"]["units"]["target"]["name"]["position"] = "TOPLEFT" - E.db["actionbar"]["bar3"]["point"] = "TOPLEFT" - E.db["actionbar"]["bar3"]["buttons"] = 12 - E.db["actionbar"]["bar3"]["buttonsPerRow"] = 4 - E.db["actionbar"]["bar3"]["visibility"] = "[petbattle] hide; show" - E.db["actionbar"]["bar3"]["buttonsize"] = 29 + E.db["unitframe"]["units"]["targettarget"]["debuffs"]["enable"] = false + E.db["unitframe"]["units"]["targettarget"]["width"] = 100 + E.db["unitframe"]["units"]["targettarget"]["height"] = 25 + E.db["unitframe"]["units"]["targettarget"]["raidicon"]["yOffset"] = 14 - E.db["actionbar"]["bar4"]["point"] = "TOPLEFT" - E.db["actionbar"]["bar4"]["buttonspacing"] = 1 - E.db["actionbar"]["bar4"]["backdrop"] = false - E.db["actionbar"]["bar4"]["buttonsPerRow"] = 2 - E.db["actionbar"]["bar4"]["buttonsize"] = 30 - E.db["actionbar"]["bar4"]["visibility"] = "[petbattle] hide; show" + E.db["unitframe"]["units"]["focus"]["debuffs"]["sizeOverride"] = 25 + E.db["unitframe"]["units"]["focus"]["debuffs"]["perrow"] = 3 + E.db["unitframe"]["units"]["focus"]["debuffs"]["anchorPoint"] = "RIGHT" + E.db["unitframe"]["units"]["focus"]["width"] = 150 + E.db["unitframe"]["units"]["focus"]["castbar"]["width"] = 220 + E.db["unitframe"]["units"]["focus"]["height"] = 25 - E.db["actionbar"]["bar5"]["point"] = "TOPLEFT" - E.db["actionbar"]["bar5"]["buttons"] = 12 - E.db["actionbar"]["bar5"]["buttonspacing"] = 1 - E.db["actionbar"]["bar5"]["buttonsPerRow"] = 2 - E.db["actionbar"]["bar5"]["buttonsize"] = 30 - E.db["actionbar"]["bar5"]["visibility"] = " [petbattle] hide; show" + E.db["unitframe"]["units"]["pet"]["castbar"]["width"] = 100 + E.db["unitframe"]["units"]["pet"]["width"] = 100 + E.db["unitframe"]["units"]["pet"]["height"] = 25 - E.db["actionbar"]["barPet"]["point"] = "TOPLEFT" - E.db["actionbar"]["barPet"]["buttonspacing"] = 1 - E.db["actionbar"]["barPet"]["backdrop"] = false - E.db["actionbar"]["barPet"]["buttonsPerRow"] = 5 - E.db["actionbar"]["barPet"]["buttonsize"] = 18 - E.db["actionbar"]["barPet"]["visibility"] = "[petbattle] hide;[pet, combat,novehicleui,nooverridebar,nopossessbar] show;hide" + E.db["unitframe"]["units"]["tank"]["enable"] = false + E.db["unitframe"]["units"]["assist"]["enable"] = false - E.db["actionbar"]["stanceBar"]["style"] = "classic" - E.db["actionbar"]["stanceBar"]["buttonsize"] = 18 - end - --Auras-- - do - E.db["auras"]["font"] = "PT Sans Narrow" - E.db["auras"]["fontOutline"] = "OUTLINE" - E.db["auras"]["fontSize"] = 12 - E.db["auras"]["buffs"]["size"] = 28 - E.db["auras"]["debuffs"]["horizontalSpacing"] = 8 - E.db["auras"]["debuffs"]["size"] = 36 - E.db["auras"]["debuffs"]["wrapAfter"] = 9 - E.db["auras"]["consolidatedBuffs"]["fontSize"] = 12 - E.db["auras"]["consolidatedBuffs"]["font"] = "PT Sans Narrow" - E.db["auras"]["consolidatedBuffs"]["fontOutline"] = "OUTLINE" - E.db["auras"]["consolidatedBuffs"]["filter"] = false + E.db["unitframe"]["units"]["boss"]["debuffs"]["numrows"] = 1 + E.db["unitframe"]["units"]["boss"]["debuffs"]["sizeOverride"] = 27 + E.db["unitframe"]["units"]["boss"]["debuffs"]["yOffset"] = -18 + E.db["unitframe"]["units"]["boss"]["portrait"]["camDistanceScale"] = 2 + E.db["unitframe"]["units"]["boss"]["portrait"]["width"] = 45 + E.db["unitframe"]["units"]["boss"]["castbar"]["width"] = 200 + E.db["unitframe"]["units"]["boss"]["width"] = 200 + E.db["unitframe"]["units"]["boss"]["infoPanel"]["height"] = 17 + E.db["unitframe"]["units"]["boss"]["power"]["xOffset"] = 2 + E.db["unitframe"]["units"]["boss"]["power"]["text_format"] = "[powercolor][curpp]" + E.db["unitframe"]["units"]["boss"]["name"]["xOffset"] = 2 + E.db["unitframe"]["units"]["boss"]["spacing"] = 22 + E.db["unitframe"]["units"]["boss"]["height"] = 47 + E.db["unitframe"]["units"]["boss"]["buffs"]["yOffset"] = 10 + E.db["unitframe"]["units"]["boss"]["buffs"]["sizeOverride"] = 27 + + E.db["unitframe"]["units"]["arena"]["debuffs"]["yOffset"] = -18 + E.db["unitframe"]["units"]["arena"]["power"]["xOffset"] = 2 + E.db["unitframe"]["units"]["arena"]["power"]["text_format"] = "[powercolor][curpp]" + E.db["unitframe"]["units"]["arena"]["power"]["position"] = "BOTTOMLEFT" + E.db["unitframe"]["units"]["arena"]["width"] = 200 + E.db["unitframe"]["units"]["arena"]["spacing"] = 22 + E.db["unitframe"]["units"]["arena"]["name"]["xOffset"] = 2 + E.db["unitframe"]["units"]["arena"]["name"]["position"] = "TOPLEFT" + E.db["unitframe"]["units"]["arena"]["buffs"]["yOffset"] = 10 + E.db["unitframe"]["units"]["arena"]["castbar"]["width"] = 200 + + E.db["unitframe"]["units"]["party"]["enable"] = false + + E.db["unitframe"]["units"]["raid"]["roleIcon"]["attachTo"] = "InfoPanel" + E.db["unitframe"]["units"]["raid"]["roleIcon"]["position"] = "LEFT" + E.db["unitframe"]["units"]["raid"]["roleIcon"]["xOffset"] = 0 + E.db["unitframe"]["units"]["raid"]["roleIcon"]["yOffset"] = 0 + E.db["unitframe"]["units"]["raid"]["rdebuffs"]["font"] = "PT Sans Narrow" + E.db["unitframe"]["units"]["raid"]['growthDirection'] = 'RIGHT_UP' + E.db["unitframe"]["units"]["raid"]["numGroups"] = 8 + E.db["unitframe"]["units"]["raid"]["width"] = 86 + E.db["unitframe"]["units"]["raid"]["infoPanel"]["enable"] = true + E.db["unitframe"]["units"]["raid"]["name"]["attachTextTo"] = "InfoPanel" + E.db["unitframe"]["units"]["raid"]["name"]["xOffset"] = 15 + E.db["unitframe"]["units"]["raid"]["name"]["position"] = "LEFT" + E.db["unitframe"]["units"]["raid"]["GPSArrow"]["enable"] = false + E.db["unitframe"]["units"]["raid"]["health"]["xOffset"] = 4 + E.db["unitframe"]["units"]["raid"]["health"]["yOffset"] = -4 + E.db["unitframe"]["units"]["raid"]["health"]["text_format"] = "" + E.db["unitframe"]["units"]["raid"]["health"]["position"] = "TOPLEFT" + E.db["unitframe"]["units"]["raid"]["height"] = 28 + E.db["unitframe"]["units"]["raid"]["power"]["enable"] = false + E.db["unitframe"]["units"]["raid"]["visibility"] = "[@raid31,exists][nogroup] hide;show" + E.db["unitframe"]["units"]["raid"]["raidicon"]["attachTo"] = "TOPRIGHT" + E.db["unitframe"]["units"]["raid"]["raidicon"]["xOffset"] = -2 + + E.db["unitframe"]["units"]["raid40"]["enable"] = false end - --SLE-- + --S&L do - E.db["sle"]["nameplate"]["showthreat"] = true - E.db["sle"]["raidmarkers"]["buttonSize"] = 18 - E.db["sle"]["raidmarkers"]["spacing"] = 1 - E.db["sle"]["raidmarkers"]["visibility"] = "DEFAULT" - E.db["sle"]["raidmarkers"]["reverse"] = true - E.db["sle"]["errorframe"]["width"] = 470 - + E.db["sle"]["databars"]["artifact"]["longtext"] = true + E.db["sle"]["databars"]["artifact"]["chatfilter"]["enable"] = true + E.db["sle"]["databars"]["honor"]["chatfilter"]["awardStyle"] = "STYLE2" + E.db["sle"]["databars"]["honor"]["chatfilter"]["style"] = "STYLE8" + E.db["sle"]["databars"]["honor"]["chatfilter"]["enable"] = true + E.db["sle"]["databars"]["rep"]["chatfilter"]["enable"] = true + E.db["sle"]["databars"]["rep"]["chatfilter"]["styleDec"] = "STYLE2" + E.db["sle"]["databars"]["rep"]["chatfilter"]["style"] = "STYLE2" + E.db["sle"]["databars"]["exp"]["chatfilter"]["enable"] = true + E.db["sle"]["databars"]["exp"]["chatfilter"]["style"] = "STYLE2" E.db["sle"]["media"]["fonts"]["zone"]["font"] = "Old Cyrillic" E.db["sle"]["media"]["fonts"]["subzone"]["font"] = "Old Cyrillic" E.db["sle"]["media"]["fonts"]["pvp"]["font"] = "Old Cyrillic" - E.db["sle"]["media"]["screensaver"]["enable"] = true - E.db["sle"]["media"]["screensaver"]["playermodel"]["rotation"] = 345 - E.db["sle"]["media"]["screensaver"]["playermodel"]["xaxis"] = 0.1 - E.db["sle"]["media"]["screensaver"]["playermodel"]["anim"] = 70 - E.db["sle"]["media"]["screensaver"]["playermodel"]["distance"] = 0 - E.db["sle"]["media"]["screensaver"]["playermodel"]["yaxis"] = -0.2 - E.db["sle"]["media"]["screensaver"]["playermodel"]["width"] = 650 - E.db["sle"]["media"]["screensaver"]["xpack"] = 200 - E.db["sle"]["media"]["screensaver"]["crest"] = 150 - - E.db["sle"]["Armory"]["Character"]["Enchant"]["FontSize"] = 12 - E.db["sle"]["Armory"]["Character"]["MissingIcon"] = false - E.db["sle"]["Armory"]["Character"]["Durability"]["Display"] = "DamagedOnly" - E.db["sle"]["Armory"]["Character"]["Durability"]["FontSize"] = 12 - E.db["sle"]["Armory"]["Character"]["Level"]["FontSize"] = 12 - E.db["sle"]["Armory"]["Character"]["Backdrop"]["SelectedBG"] = "Castle" - E.db["sle"]["Armory"]["Character"]["Gradation"]["Color"] = { - 0.411764705882353, -- [1] - 0.827450980392157, -- [2] - nil, -- [3] - 1, -- [4] - } - - E.db["sle"]["Armory"]["Inspect"]["Gem"]["SocketSize"] = 12 - E.db["sle"]["Armory"]["Inspect"]["MissingIcon"] = false - E.db["sle"]["Armory"]["Inspect"]["Level"]["FontSize"] = 12 - E.db["sle"]["Armory"]["Inspect"]["Backdrop"]["SelectedBG"] = "Castle" - E.db["sle"]["Armory"]["Inspect"]["Enchant"]["FontSize"] = 12 - E.db["sle"]["Armory"]["Inspect"]["Gradation"]["Color"] = { - 0.411764705882353, -- [1] - 0.827450980392157, -- [2] - nil, -- [3] - 1, -- [4] - } - - E.db["sle"]["datatext"]["chathandle"] = true - E.db["sle"]["datatext"]["chatright"]["width"] = 428 - E.db["sle"]["datatext"]["chatleft"]["width"] = 428 - E.db["sle"]["datatext"]["bottom"]["enabled"] = true - E.db["sle"]["datatext"]["bottom"]["transparent"] = true - E.db["sle"]["datatext"]["bottom"]["width"] = 196 - E.db["sle"]["datatext"]["top"]["enabled"] = true - E.db["sle"]["datatext"]["top"]["transparent"] = true - E.db["sle"]["datatext"]["dp5"]["enabled"] = true - E.db["sle"]["datatext"]["dp5"]["transparent"] = true - E.db["sle"]["datatext"]["dp6"]["enabled"] = true - E.db["sle"]["datatext"]["dp6"]["transparent"] = true - - E.db["sle"]["dt"]["friends"]["sortBN"] = "REALID" - E.db["sle"]["dt"]["friends"]["combat"] = true - E.db["sle"]["dt"]["friends"]["hide_hintline"] = false + E.db["sle"]["blizzard"]["vehicleSeatScale"] = 0.7 + E.db["sle"]["dt"]["durability"]["threshold"] = 30 + E.db["sle"]["dt"]["durability"]["gradient"] = true + E.db["sle"]["dt"]["currency"]["Jewelcrafting"] = false + E.db["sle"]["dt"]["currency"]["Archaeology"] = false + E.db["sle"]["dt"]["currency"]["Unused"] = false + E.db["sle"]["dt"]["guild"]["hide_guildname"] = true + E.db["sle"]["dt"]["guild"]["totals"] = true + E.db["sle"]["dt"]["guild"]["hide_gmotd"] = true E.db["sle"]["dt"]["friends"]["expandBNBroadcast"] = true E.db["sle"]["dt"]["friends"]["totals"] = true - E.db["sle"]["dt"]["guild"]["totals"] = true - E.db["sle"]["dt"]["guild"]["combat"] = true - E.db["sle"]["dt"]["durability"]["threshold"] = 50 - E.db["sle"]["dt"]["durability"]["gradient"] = true - - E.db["sle"]["loot"]["enable"] = true E.db["sle"]["loot"]["history"]["alpha"] = 0.7 E.db["sle"]["loot"]["history"]["autohide"] = true - E.db["sle"]["loot"]["autoroll"]["autode"] = true + E.db["sle"]["loot"]["looticons"]["enable"] = true + E.db["sle"]["loot"]["enable"] = true E.db["sle"]["loot"]["autoroll"]["autoconfirm"] = true E.db["sle"]["loot"]["autoroll"]["autogreed"] = true - - E.db["sle"]["combatico"]["pos"] = "RIGHT" - - E.db["sle"]["threat"]["enable"] = false - - E.db["sle"]["quests"]["visibility"]["arena"] = "HIDE" - E.db["sle"]["quests"]["visibility"]["bg"] = "HIDE" - E.db["sle"]["quests"]["visibility"]["rested"] = "COLLAPSED" - E.db["sle"]["quests"]["visibility"]["garrison"] = "COLLAPSED" - - E.db["sle"]["tooltip"]["showFaction"] = true - - E.db["sle"]["garrison"]["autoOrder"] = true - - E.db["sle"]["chat"]["dpsSpam"] = true - E.db["sle"]["chat"]["textureAlpha"]["enable"] = true - E.db["sle"]["chat"]["textureAlpha"]["alpha"] = 0.7 - - E.db["sle"]["minimap"]["instance"]["fontSize"] = 14 - E.db["sle"]["minimap"]["instance"]["flag"] = false - E.db["sle"]["minimap"]["instance"]["enable"] = true - - E.db["sle"]["powtext"] = true - E.db["sle"]["uibuttons"]["point"] = "TOPRIGHT" E.db["sle"]["uibuttons"]["enable"] = true E.db["sle"]["uibuttons"]["spacing"] = 1 E.db["sle"]["uibuttons"]["anchor"] = "BOTTOMRIGHT" - E.db["sle"]["uibuttons"]["size"] = 20 E.db["sle"]["uibuttons"]["orientation"] = "horizontal" - E.db["sle"]["uibuttons"]["yoffset"] = -2 + E.db["sle"]["raidmanager"]["roles"] = true + E.db["sle"]["tooltip"]["alwaysCompareItems"] = true + E.db["sle"]["tooltip"]["showFaction"] = true + E.db["sle"]["raidmarkers"]["spacing"] = -1 + E.db["sle"]["raidmarkers"]["buttonSize"] = 24 + E.db["sle"]["nameplate"]["showthreat"] = true + E.db["sle"]["nameplate"]["targetcount"] = true + E.db["sle"]["chat"]["editboxhistory"] = 10 + E.db["sle"]["chat"]["dpsSpam"] = true + E.db["sle"]["chat"]["tab"]["select"] = true + E.db["sle"]["datatexts"]["leftchat"]["width"] = 430 + E.db["sle"]["datatexts"]["panel7"]["enabled"] = true + E.db["sle"]["datatexts"]["panel7"]["width"] = 191 + E.db["sle"]["datatexts"]["panel7"]["transparent"] = true + E.db["sle"]["datatexts"]["panel3"]["enabled"] = true + E.db["sle"]["datatexts"]["panel3"]["transparent"] = true + E.db["sle"]["datatexts"]["panel6"]["enabled"] = true + E.db["sle"]["datatexts"]["panel6"]["width"] = 421 + E.db["sle"]["datatexts"]["panel6"]["transparent"] = true + E.db["sle"]["datatexts"]["rightchat"]["width"] = 430 + E.db["sle"]["datatexts"]["panel8"]["enabled"] = true + E.db["sle"]["datatexts"]["panel8"]["width"] = 422 + E.db["sle"]["datatexts"]["panel8"]["transparent"] = true + E.db["sle"]["unitframes"]["statusTextures"]["auraTexture"] = "Ohi Tribal4" + E.db["sle"]["unitframes"]["statusTextures"]["castTexture"] = "Ohi Tribal4" + E.db["sle"]["unitframes"]["statusTextures"]["classTexture"] = "ElvUI Gloss" + E.db["sle"]["unitframes"]["unit"]["player"]["combatico"]["xoffset"] = 112 + E.db["sle"]["unitframes"]["unit"]["player"]["combatico"]["red"] = false + E.db["sle"]["unitframes"]["unit"]["player"]["combatico"]["size"] = 32 + E.db["sle"]["unitframes"]["unit"]["player"]["combatico"]["yoffset"] = 5 + E.db["sle"]["unitframes"]["unit"]["player"]["portraitAlpha"] = 1 + E.db["sle"]["unitframes"]["unit"]["player"]["rested"]["xoffset"] = 208 + E.db["sle"]["unitframes"]["unit"]["player"]["rested"]["yoffset"] = -35 + E.db["sle"]["unitframes"]["unit"]["player"]["higherPortrait"] = true + E.db["sle"]["unitframes"]["unit"]["target"]["higherPortrait"] = true + E.db["sle"]["unitframes"]["unit"]["target"]["portraitAlpha"] = 1 + E.db["sle"]["minimap"]["locPanel"]["enable"] = true + E.db["sle"]["minimap"]["locPanel"]["width"] = 310 + E.db["sle"]["minimap"]["instance"]["enable"] = true + E.db["sle"]["minimap"]["instance"]["flag"] = false + E.db["sle"]["quests"]["visibility"]["rested"] = "COLLAPSED" + E.db["sle"]["quests"]["visibility"]["garrison"] = "COLLAPSED" + E.db["sle"]["quests"]["autoReward"] = true + E.db["sle"]["pvp"]["duels"]["pet"] = true + E.db["sle"]["pvp"]["duels"]["regular"] = true + E.db["sle"]["pvp"]["autorelease"] = true end - --Movers-- + --Movers do - SLE:SetMoverPosition("ElvAB_1", "BOTTOM", ElvUIParent, "BOTTOM", 0, 21) - SLE:SetMoverPosition("ElvAB_2", "BOTTOM", ElvUIParent, "BOTTOM", 202, 20) - SLE:SetMoverPosition("ElvAB_3", "BOTTOM", ElvUIParent, "BOTTOM", -202, 20) - SLE:SetMoverPosition("ElvAB_4", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -445, 20) - SLE:SetMoverPosition("ElvAB_5", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 445, 20) - SLE:SetMoverPosition("ElvAB_6", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -11, 210) - SLE:SetMoverPosition("ShiftAB", "TOPLEFT", ElvUIParent, "BOTTOMLEFT", 711, 136) - SLE:SetMoverPosition("PetAB", "BOTTOM", ElvUIParent, "BOTTOM", -287, 337) - SLE:SetMoverPosition("BossButton", "BOTTOM", ElvUIParent, "BOTTOM", 0, 170) - SLE:SetMoverPosition("RaidMarkerBarAnchor", "BOTTOM", ElvUIParent, "BOTTOM", 0, 113) - SLE:SetMoverPosition("ElvUF_PlayerMover", "BOTTOM", ElvUIParent, "BOTTOM", -240, 400) - SLE:SetMoverPosition("ElvUF_PlayerCastbarMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 381) - SLE:SetMoverPosition("ClassBarMover", "BOTTOM", ElvUIParent, "BOTTOM", 2, 419) - SLE:SetMoverPosition("ElvUF_TargetMover", "BOTTOM", ElvUIParent, "BOTTOM", 239, 400) - SLE:SetMoverPosition("ComboBarMover", "BOTTOM", ElvUIParent, "BOTTOM", 2, 408) - SLE:SetMoverPosition("ElvUF_PetMover", "BOTTOM", ElvUIParent, "BOTTOM", -295, 379) - SLE:SetMoverPosition("ElvUF_BodyGuardMover", "BOTTOM", ElvUIParent, "BOTTOM", -208, 379) - SLE:SetMoverPosition("ElvUF_TargetTargetMover", "BOTTOM", ElvUIParent, "BOTTOM", 194, 355) - SLE:SetMoverPosition("ElvUF_FocusMover", "BOTTOM", ElvUIParent, "BOTTOM", 296, 320) - SLE:SetMoverPosition("ElvUF_FocusCastbarMover", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -516, 303) - SLE:SetMoverPosition("ElvUF_PartyMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 0, 207) - SLE:SetMoverPosition("ElvUF_RaidMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 0, 207) - SLE:SetMoverPosition("ElvUF_Raid40Mover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 0, 207) - SLE:SetMoverPosition("ElvUF_RaidpetMover", "TOPLEFT", ElvUIParent, "BOTTOMLEFT", 379, 369) - SLE:SetMoverPosition("BossHeaderMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", 0, -229) - SLE:SetMoverPosition("ArenaHeaderMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", 0, -229) - SLE:SetMoverPosition("TotemBarMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 576, 337) - SLE:SetMoverPosition("MicrobarMover", "TOP", ElvUIParent, "TOP", 0, -20) - SLE:SetMoverPosition("GMMover", "TOPLEFT", ElvUIParent, "TOPLEFT", 267, -1) - SLE:SetMoverPosition("ObjectiveFrameMover", "TOPLEFT", ElvUIParent, "TOPLEFT", 80, 0) - SLE:SetMoverPosition("BNETMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", -88, -206) - SLE:SetMoverPosition("RaidUtility_Mover", "TOP", ElvUIParent, "TOP", -306, 0) - SLE:SetMoverPosition("AlertFrameMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 135) - SLE:SetMoverPosition("GhostFrameMover", "TOP", ElvUIParent, "TOP", 257, 0) - SLE:SetMoverPosition("AltPowerBarMover", "TOP", ElvUIParent, "TOP", 0, -113) - SLE:SetMoverPosition("PvPMover", "TOP", ElvUIParent, "TOP", 0, -70) - SLE:SetMoverPosition("MinimapMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", 0, 0) - SLE:SetMoverPosition("BuffsMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", -228, -1) - SLE:SetMoverPosition("DebuffsMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", -228, -149) - SLE:SetMoverPosition("LeftChatMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 0, 19) - SLE:SetMoverPosition("RightChatMover", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", 0, 19) - SLE:SetMoverPosition("LootFrameMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 420, 383) - SLE:SetMoverPosition("DigSiteProgressBarMover", "TOP", ElvUIParent, "TOP", 0, -106) - SLE:SetMoverPosition("SLE_UIButtonsMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", 0, -203) - SLE:SetMoverPosition("UIErrorsFrameMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 290) - SLE:SetMoverPosition("VehicleSeatMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 545, 207) - SLE:SetMoverPosition("ExperienceBarMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 508, 20) - SLE:SetMoverPosition("ReputationBarMover", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -508, 20) - SLE:SetMoverPosition("Top_Center_Mover", "TOP", ElvUIParent, "TOP", 0, 0) - SLE:SetMoverPosition("DP_5_Mover", "BOTTOM", ElvUIParent, "BOTTOM", -307, 0) - SLE:SetMoverPosition("DP_6_Mover", "BOTTOM", ElvUIParent, "BOTTOM", 307, 0) - SLE:SetMoverPosition("SalvageCrateMover", "BOTTOM", ElvUIParent, "BOTTOM", -1, 350) - SLE:SetMoverPosition("PetBattleStatusMover", "TOP", ElvUIParent, "TOP", 0, -69) - end - - E.private["general"]["minimap"]["hideGarrison"] = false - E.private["general"]["normTex"] = "Polished Wood" - E.private["general"]["glossTex"] = "Polished Wood" - E.private["sle"]["minimap"]["mapicons"]["enable"] = true - E.private["sle"]["farm"]["enable"] = true - E.private["sle"]["equip"]["spam"] = true - E.private["sle"]["equip"]["setoverlay"] = true - if E.myclass ~= "HUNTER" and E.myclass ~= "SHAMAN" and E.myclass ~= "ROGUE" then E.private["sle"]["auras"]["consolidatedMark"] = true end - E.private["ElvUI_Currency"]["Unused"] = false - E.private["ElvUI_Currency"]["Archaeology"] = false - - if layout then - if layout == 'tank' then AI:DarthTank() - elseif layout == 'dpsMelee' then AI:DarthPhys() - elseif layout == 'healer' then AI:DarthHeal() - else AI:DarthCaster() - end - E.db.layoutSet = layout - else - AI:DarthCaster() - E.db.layoutSet = "dpsCaster" - end - - if IsAddOnLoaded("ElvUI_LocLite") then - SLE:SetMoverPosition("LocationLiteMover", "TOP", ElvUIParent, "TOP", 0, -19) - E.db["loclite"]["dig"] = false - E.db["loclite"]["lpwidth"] = 300 - E.db["loclite"]["dtheight"] = 20 - E.db["loclite"]["lpauto"] = false - E.db["loclite"]["lpfontsize"] = 10 - E.db["loclite"]["lpfontflags"] = "OUTLINE" + E.db["movers"]["ElvUF_FocusCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,286,118" + E.db["movers"]["RaidMarkerBarAnchor"] = "BOTTOM,ElvUIParent,BOTTOM,0,137" + E.db["movers"]["ElvUF_PlayerCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,165" + E.db["movers"]["ElvUF_RaidMover"] = "TOPLEFT,ElvUIParent,BOTTOMLEFT,2,574" + E.db["movers"]["LeftChatMover"] = "BOTTOMLEFT,UIParent,BOTTOMLEFT,0,19" + E.db["movers"]["GMMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,285,0" + E.db["movers"]["GhostFrameMover"] = "TOP,ElvUIParent,TOP,288,0" + E.db["movers"]["BossButton"] = "BOTTOM,ElvUIParent,BOTTOM,1,245" + E.db["movers"]["LootFrameMover"] = "TOP,ElvUIParent,TOP,270,-528" + E.db["movers"]["ElvUF_RaidpetMover"] = "TOPLEFT,ElvUIParent,BOTTOMLEFT,4,736" + E.db["movers"]["ClassBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,-4,228" + E.db["movers"]["ElvUF_PetCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,-163,167" + E.db["movers"]["VehicleSeatMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,520,44" + E.db["movers"]["ExperienceBarMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,504,19" + E.db["movers"]["ElvUF_TargetTargetMover"] = "BOTTOM,ElvUIParent,BOTTOM,161,141" + E.db["movers"]["ElvUF_Raid40Mover"] = "TOPLEFT,ElvUIParent,BOTTOMLEFT,4,432" + E.db["movers"]["ElvUF_FocusMover"] = "BOTTOM,ElvUIParent,BOTTOM,290,141" + E.db["movers"]["ElvAB_1"] = "BOTTOM,ElvUIParent,BOTTOM,0,19" + E.db["movers"]["ElvAB_2"] = "BOTTOM,ElvUIParent,BOTTOM,125,19" + E.db["movers"]["ElvAB_4"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-444,19" + E.db["movers"]["ReputationBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,313,19" + E.db["movers"]["TalkingHeadFrameMover"] = "TOP,ElvUIParent,TOP,0,-46" + E.db["movers"]["ElvUF_PartyMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,4,195" + E.db["movers"]["AltPowerBarMover"] = "TOP,ElvUIParent,TOP,0,-65" + E.db["movers"]["ElvAB_3"] = "BOTTOM,ElvUIParent,BOTTOM,-125,19" + E.db["movers"]["ElvAB_5"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,444,19" + E.db["movers"]["ArtifactBarMover"] = "TOP,ElvUIParent,TOP,0,-39" + E.db["movers"]["TotemBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,-3,188" + E.db["movers"]["ElvUF_PlayerMover"] = "BOTTOM,ElvUIParent,BOTTOM,-220,186" + E.db["movers"]["ObjectiveFrameMover"] = "TOPLEFT,ElvUIParent,TOPLEFT,98,-4" + E.db["movers"]["BossHeaderMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-59,-299" + E.db["movers"]["ShiftAB"] = "TOPLEFT,ElvUIParent,BOTTOMLEFT,761,138" + E.db["movers"]["HonorBarMover"] = "TOP,ElvUIParent,TOP,0,-48" + E.db["movers"]["ArenaHeaderMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-59,-299" + E.db["movers"]["PetAB"] = "BOTTOM,ElvUIParent,BOTTOM,-267,142" + E.db["movers"]["PvPMover"] = "TOP,ElvUIParent,TOP,-5,-59" + E.db["movers"]["SLE_Location_Mover"] = "TOP,ElvUIParent,TOP,0,-19" + E.db["movers"]["ElvUF_PetMover"] = "BOTTOM,ElvUIParent,BOTTOM,-163,141" + E.db["movers"]["SLE_UIButtonsMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-2,-201" + E.db["movers"]["RightChatMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,0,19" + E.db["movers"]["AlertFrameMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,312" + E.db["movers"]["DebuffsMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-187,-158" + E.db["movers"]["ElvUF_TargetMover"] = "BOTTOM,ElvUIParent,BOTTOM,211,189" end - if IsAddOnLoaded("ElvUI_EverySecondCounts") then - E.db["ESC"]["font"] = "PT Sans Narrow" + if T.IsAddOnLoaded("ElvUI_AuraBarsMovers") then + E.db["abm"]["target"] = true + E.db["abm"]["player"] = true + E.db["abm"]["playerw"] = 180 + E.db["abm"]["targetw"] = 180 + E.db["movers"]["ElvUF_PlayerAuraMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,459,206" + E.db["movers"]["ElvUF_TargetAuraMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-468,209" end - if AddOnSkins then - E.private["addonskins"]["Blizzard_WorldStateCaptureBar"] = true - E.private["addonskins"]["DBMFontSize"] = 10 - E.private["addonskins"]["EmbedIsHidden"] = true - E.private["addonskins"]["AuctionHouse"] = false - E.private["addonskins"]["SkinTemplate"] = "Default" - E.private["addonskins"]["DBMSkinHalf"] = true - E.private["addonskins"]["DBMFont"] = "PT Sans Narrow" - E.private["addonskins"]["Blizzard_ExtraActionButton"] = true - E.private["addonskins"]["EmbedLeftWidth"] = 213 + if T.IsAddOnLoaded("AddOnSkins") then E.private["addonskins"]["EmbedOoC"] = true - E.private["addonskins"]["EmbedOoCDelay"] = 2 + E.private["addonskins"]["EmbedOoCDelay"] = 5 E.private["addonskins"]["Blizzard_DraenorAbilityButton"] = true E.private["addonskins"]["EmbedSystemDual"] = true + E.private["addonskins"]["LoginMsg"] = false + E.private["addonskins"]["Blizzard_ExtraActionButton"] = true + E.private["addonskins"]["DBMFont"] = "PT Sans Narrow" + E.private["addonskins"]["DBMSkinHalf"] = true end - E.private["install_complete"] = installMark - E.private["sle"]["install_complete"] = installMarkSLE - - E:UpdateAll(true) -end - -function AI:RepoocSetup() --The function to switch from classic ElvUI settings to Repooc's - local layout = E.db.layoutSet - local installMark = E.private["install_complete"] - local installMarkSLE = E.private["sle"]["install_complete"] - - SLEInstallStepComplete.message = L["Repooc's Default Set"] - SLEInstallStepComplete:Show() - - if IsAddOnLoaded("ElvUI_DTBars2") then - table.wipe(dtbarsList) - table.wipe(dtbarsTexts) - for name, data in pairs(E.global.dtbars) do - if E.db.dtbars and E.db.dtbars[name] then - dtbarsList[name] = E.db.dtbars[name] - dtbarsTexts[name] = E.db.datatexts.panels[name] - end - end - end - table.wipe(E.db) - E:CopyTable(E.db, P) - - table.wipe(E.private) - E:CopyTable(E.private, V) - - if E.db['movers'] then table.wipe(E.db['movers']) else E.db['movers'] = {} end - - E.db["actionbar"]["bar3"]["point"] = "TOPLEFT" - E.db["actionbar"]["bar3"]["buttons"] = 12 - E.db["actionbar"]["fontOutline"] = "OUTLINE" - E.db["actionbar"]["bar2"]["enabled"] = true - E.db["actionbar"]["bar5"]["point"] = "TOPLEFT" - E.db["actionbar"]["bar5"]["buttons"] = 12 - E.db["actionbar"]["font"] = "Rubino" - E.db["actionbar"]["fontSize"] = 12 - - E.db["auras"]["consolidatedBuffs"]["font"] = "Intro Black" - E.db["auras"]["consolidatedBuffs"]["fontOutline"] = "NONE" - - E.db["chat"]["font"] = "Univers" - E.db["chat"]["tabFontSize"] = 12 - E.db["chat"]["tabFont"] = "Rubino" - - E.db["datatexts"]["minimapPanels"] = false - E.db["datatexts"]["panels"]["Top_Center"] = "S&L Guild" - E.db["datatexts"]["panels"]["Bottom_Panel"] = "S&L Friends" - E.db["datatexts"]["panels"]["DP_6"]["right"] = "Time" - E.db["datatexts"]["panels"]["DP_6"]["left"] = "S&L Currency" - E.db["datatexts"]["panels"]["DP_6"]["middle"] = "System" - E.db["datatexts"]["leftChatPanel"] = false - E.db["datatexts"]["rightChatPanel"] = false - - if IsAddOnLoaded("ElvUI_DTBars2") then - if not E.db.dtbars then E.db.dtbars = {} end - for name, data in pairs(E.global.dtbars) do - if dtbarsList[name] then - E.db.dtbars[name] = dtbarsList[name] - E.db.datatexts.panels[name] = dtbarsTexts[name] - end - end - end - - E.db["general"]["bottomPanel"] = false - E.db["general"]["valuecolor"] = { - ["r"] = 0, - ["g"] = 1, - ["b"] = 0.59, - } - E.db["general"]["vendorGrays"] = true - E.db["general"]["bordercolor"] = { - ["r"] = 0.31, - ["g"] = 0.31, - ["b"] = 0.31, - } - E.db["general"]["font"] = "Rubino" - - SLE:SetMoverPosition("BossButton", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -448, 415) - SLE:SetMoverPosition("Bottom_Panel_Mover", "BOTTOM", ElvUIParent, "BOTTOM", -312, 2) - SLE:SetMoverPosition("DP_6_Mover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 2) - SLE:SetMoverPosition("ElvAB_1", "BOTTOM", ElvUIParent, "BOTTOM", 0, 57) - SLE:SetMoverPosition("ElvAB_2", "BOTTOM", ElvUIParent, "BOTTOM", 0, 22) - SLE:SetMoverPosition("ElvAB_3", "BOTTOM", ElvUIParent, "BOTTOM", 312, 23) - SLE:SetMoverPosition("ElvAB_5", "BOTTOM", ElvUIParent, "BOTTOM", -312, 23) - SLE:SetMoverPosition("ElvUF_PlayerMover", "BOTTOM", ElvUIParent, "BOTTOM", -311, 145) - SLE:SetMoverPosition("ElvUF_PetMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 410, 240) - SLE:SetMoverPosition("ElvUF_RaidMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 95) - SLE:SetMoverPosition("ElvUF_TargetMover", "BOTTOM", ElvUIParent, "BOTTOM", 311, 145) - SLE:SetMoverPosition("ElvUF_TargetTargetMover", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -410, 240) - SLE:SetMoverPosition("ElvUF_PlayerCastbarMover", "BOTTOM", ElvUIParent, "BOTTOM", -311, 122) - SLE:SetMoverPosition("LeftChatMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 2, 2) - SLE:SetMoverPosition("RightChatMover", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -2, 2) - SLE:SetMoverPosition("Top_Center_Mover", "BOTTOM", ElvUIParent, "BOTTOM", 312, 2) - - E.db["nameplate"]["healthBar"]["text"]["enable"] = true - E.db["nameplate"]["healthBar"]["text"]["format"] = "CURRENT_PERCENT" - E.db["nameplate"]["threat"]["goodScale"] = 1.1 - E.db["nameplate"]["targetIndicator"]["color"]["g"] = 0 - E.db["nameplate"]["targetIndicator"]["color"]["b"] = 0 - E.db["nameplate"]["font"] = "Intro Black" - E.db["nameplate"]["fontOutline"] = "OUTLINE" - - E.db["sle"]["datatext"]["top"]["enabled"] = true - E.db["sle"]["datatext"]["top"]["width"] = 202 - E.db["sle"]["datatext"]["bottom"]["enabled"] = true - E.db["sle"]["datatext"]["bottom"]["width"] = 202 - E.db["sle"]["datatext"]["dp6"]["enabled"] = true - E.db["sle"]["datatext"]["dp6"]["width"] = 406 - E.db["sle"]["loot"]["announcer"]["enable"] = true - E.db["sle"]["loot"]["autoroll"]["enable"] = false - E.db["sle"]["loot"]["enable"] = true - E.db["sle"]["media"]["fonts"]["zone"]["font"] = "Durandal Light" - E.db["sle"]["media"]["fonts"]["subzone"]["font"] = "Durandal Light" - E.db["sle"]["media"]["fonts"]["pvp"]["font"] = "Trafaret" - E.db["sle"]["media"]["fonts"]["pvp"]["size"] = 20 - E.db["sle"]["minimap"]["mapicons"]["skindungeon"] = true - E.db["sle"]["tooltip"]["showFaction"] = true - E.db["sle"]["uibuttons"]["enable"] = true - - E.db["tooltip"]["healthBar"]["font"] = "Rubino" - E.db["tooltip"]["healthBar"]["fontSize"] = 11 - - E.db["unitframe"]["colors"]["auraBarBuff"] = { - ["r"] = 0, - ["g"] = 1, - ["b"] = 0.59, - } - E.db["unitframe"]["colors"]["healthclass"] = true - E.db["unitframe"]["colors"]["castClassColor"] = true - E.db["unitframe"]["colors"]["castColor"] = { - ["r"] = 0.1, - ["g"] = 0.1, - ["b"] = 0.1, - } - E.db["unitframe"]["colors"]["health"] = { - ["r"] = 0.1, - ["g"] = 0.1, - ["b"] = 0.1, - } - E.db["unitframe"]["statusbar"] = "Minimalist" - E.db["unitframe"]["smoothbars"] = true - E.db["unitframe"]["units"]["raid40"]["colorOverride"] = "FORCE_OFF" - E.db["unitframe"]["units"]["raid"]["width"] = 79 - E.db["unitframe"]["units"]["raid"]["health"]["frequentUpdates"] = true - E.db["unitframe"]["units"]["raid"]["health"]["orientation"] = "VERTICAL" - E.db["unitframe"]["units"]["raid"]["GPSArrow"]["enable"] = false - E.db["unitframe"]["units"]["raid"]["colorOverride"] = "FORCE_OFF" - E.db["unitframe"]["units"]["target"]["castbar"]["width"] = 202 - E.db["unitframe"]["units"]["target"]["width"] = 202 - E.db["unitframe"]["units"]["player"]["restIcon"] = false - E.db["unitframe"]["units"]["player"]["castbar"]["width"] = 202 - E.db["unitframe"]["units"]["player"]["width"] = 202 + E.private["general"]["normTex"] = "Ohi MetalSheet" + E.private["general"]["glossTex"] = "Ohi MetalSheet" + E.private["general"]["minimap"]["hideClassHallReport"] = true + E.private["sle"]["module"]["screensaver"] = true + E.private["sle"]["uiButtonStyle"] = "dropdown" + E.private["sle"]["bags"]["transparentSlots"] = true E.private["sle"]["minimap"]["mapicons"]["enable"] = true - E.private["sle"]["minimap"]["mapicons"]["barenable"] = true + E.private["sle"]["unitframe"]["resizeHealthPrediction"] = true + E.private["sle"]["unitframe"]["statusbarTextures"]["cast"] = true + E.private["sle"]["unitframe"]["statusbarTextures"]["class"] = true + E.private["sle"]["unitframe"]["statusbarTextures"]["aura"] = true + E.private["sle"]["chat"]["chatHistory"]["CHAT_MSG_GUILD_ACHIEVEMENT"] = false + E.private["sle"]["chat"]["chatHistory"]["CHAT_MSG_EMOTE"] = false + E.private["sle"]["skins"]["merchant"]["enable"] = true E.private["sle"]["equip"]["setoverlay"] = true - E.private["sle"]["exprep"]["autotrack"] = true + E.private["sle"]["actionbars"]["transparentButtons"] = true - if AddOnSkins then - E.private["addonskins"]["Blizzard_WorldStateCaptureBar"] = true - E.private["addonskins"]["EmbedOoC"] = false - E.private["addonskins"]["DBMSkinHalf"] = true - E.private["addonskins"]["DBMFont"] = "PT Sans Narrow" - E.private["addonskins"]["EmbedSystemDual"] = true - E.private["addonskins"]["EmbedLeft"] = "Skada" - E.private["addonskins"]["EmbedRight"] = "Skada" - E.private["addonskins"]["EmbedSystem"] = false + E.global["sle"]["advanced"]["optionsLimits"] = true + E.global["sle"]["advanced"]["cyrillics"]["commands"] = true + E.global["general"]["animateConfig"] = false + + if layout then + if layout == 'tank' then + E.db["nameplates"]["threat"]["beingTankedByTank"] = true + E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["left"] = "Avoidance" + E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["middle"] = "Versatility" + E.db["unitframe"]["units"]["raid"]["power"]["enable"] = true + elseif layout == 'dpsMelee' then + E.db["datatexts"]["panels"]["SLE_DataPanel_8"]["left"] = "Attack Power" + elseif layout == 'healer' then DarthHeal() + end + E.db.layoutSet = layout + else + E.db.layoutSet = "dpsCaster" end - E.db.layoutSet = layout E.private["install_complete"] = installMark E.private["sle"]["install_complete"] = installMarkSLE E:UpdateAll(true) -end -function AI:AffinitiiSetup() --The function to switch from class ElvUI settings to Affinitii's - local layout = E.db.layoutSet - local installMark = E.private["install_complete"] - local installMarkSLE = E.private["sle"]["install_complete"] - pixel = E.PixelMode --Pull PixelMode - - SLEInstallStepComplete.message = L["Affinitii's Default Set"] - SLEInstallStepComplete:Show() + _G["PluginInstallStepComplete"].message = L["Darth's Default Set"]..": "..(PI.SLE_Word == NONE and L['Caster DPS'] or PI.SLE_Word) + _G["PluginInstallStepComplete"]:Show() +end - if IsAddOnLoaded("ElvUI_DTBars2") then - table.wipe(dtbarsList) - table.wipe(dtbarsTexts) - for name, data in pairs(E.global.dtbars) do - if E.db.dtbars and E.db.dtbars[name] then - dtbarsList[name] = E.db.dtbars[name] - dtbarsTexts[name] = E.db.datatexts.panels[name] - end +local function DarthAddons() + if SkadaDB and T.IsAddOnLoaded("Skada") then + local damage, healing = locale == "ruRU" and "Нанесенный урон" or "Damage", locale == "ruRU" and "Исцеление" or "Healing" + local profileName = "Darth "..(locale == "ruRU" and "Ru" or "Eng") + if not SkadaDB["profiles"][profileName] then + SkadaDB["profiles"][profileName] = { + ["icon"] = { + ["hide"] = true, + }, + ["windows"] = { + { + ["barslocked"] = true, + ["background"] = { + ["height"] = 164, + }, + ["barfont"] = "PT Sans Narrow", + ["name"] = "Damage", + ["point"] = "TOPRIGHT", + ["roleicons"] = true, + ["spark"] = false, + ["bartexture"] = "BuiOnePixel", + ["barwidth"] = 200.000061035156, + ["modeincombat"] = damage, + ["title"] = { + ["color"] = { + ["a"] = 0.800000011920929, + ["r"] = 0, + ["g"] = 0, + ["b"] = 0, + }, + ["font"] = "PT Sans Narrow", + ["texture"] = "ElvUI Norm", + }, + }, -- [1] + { + ["titleset"] = true, + ["barheight"] = 15, + ["classicons"] = true, + ["barslocked"] = true, + ["enabletitle"] = true, + ["wipemode"] = "", + ["set"] = "current", + ["hidden"] = false, + ["barfont"] = "PT Sans Narrow", + ["name"] = "Healing", + ["display"] = "bar", + ["barfontflags"] = "", + ["classcolortext"] = false, + ["scale"] = 1, + ["reversegrowth"] = false, + ["returnaftercombat"] = false, + ["roleicons"] = false, + ["barorientation"] = 1, + ["snapto"] = true, + ["version"] = 1, + ["modeincombat"] = healing, + ["spark"] = false, + ["bartexture"] = "BuiOnePixel", + ["barwidth"] = 237.999954223633, + ["barspacing"] = 0, + ["clickthrough"] = false, + ["barfontsize"] = 11, + ["barbgcolor"] = { + ["a"] = 0.6, + ["b"] = 0.3, + ["g"] = 0.3, + ["r"] = 0.3, + }, + ["background"] = { + ["borderthickness"] = 0, + ["height"] = 71.939697265625, + ["color"] = { + ["a"] = 0.2, + ["b"] = 0.5, + ["g"] = 0, + ["r"] = 0, + }, + ["bordertexture"] = "None", + ["margin"] = 0, + ["texture"] = "Solid", + }, + ["barcolor"] = { + ["a"] = 1, + ["b"] = 0.8, + ["g"] = 0.3, + ["r"] = 0.3, + }, + ["classcolorbars"] = true, + ["title"] = { + ["color"] = { + ["a"] = 0.800000011920929, + ["b"] = 0, + ["g"] = 0, + ["r"] = 0, + }, + ["bordertexture"] = "None", + ["font"] = "PT Sans Narrow", + ["borderthickness"] = 2, + ["fontsize"] = 11, + ["fontflags"] = "", + ["height"] = 15, + ["margin"] = 0, + ["texture"] = "ElvUI Norm", + }, + ["buttons"] = { + ["segment"] = true, + ["menu"] = true, + ["mode"] = true, + ["report"] = true, + ["reset"] = true, + }, + ["point"] = "TOPRIGHT", + }, -- [2] + }, + } end + Skada.db:SetProfile(profileName) + end + if xCTSavedDB and T.IsAddOnLoaded("xCT+") then + if not xCTSavedDB["profiles"]["S&L Darth"] then + xCTSavedDB["profiles"]["S&L Darth"] = { + ["frames"] = { + ["general"] = { + ["fontOutline"] = "2OUTLINE", + ["font"] = "PT Sans Narrow", + ["enabledFrame"] = false, + }, + ["power"] = { + ["fontOutline"] = "2OUTLINE", + ["font"] = "PT Sans Narrow", + ["enabledFrame"] = false, + }, + ["healing"] = { + ["enableRealmNames"] = false, + ["enableClassNames"] = false, + ["fontOutline"] = "2OUTLINE", + ["enableOverHeal"] = false, + ["Width"] = 128, + ["Y"] = 63, + ["X"] = -209, + ["Height"] = 164, + ["showFriendlyHealers"] = false, + ["font"] = "PT Sans Narrow", + }, + ["outgoing"] = { + ["fontOutline"] = "2OUTLINE", + ["Width"] = 142, + ["Y"] = 71, + ["font"] = "PT Sans Narrow", + ["Height"] = 176, + ["X"] = 333, + }, + ["critical"] = { + ["fontOutline"] = "2OUTLINE", + ["Width"] = 150, + ["Y"] = 71, + ["font"] = "PT Sans Narrow", + ["Height"] = 174, + ["X"] = 481, + }, + ["procs"] = { + ["fontOutline"] = "2OUTLINE", + ["Y"] = -68, + ["font"] = "PT Sans Narrow", + ["enabledFrame"] = false, + ["X"] = -248, + }, + ["loot"] = { + ["fontOutline"] = "2OUTLINE", + ["Y"] = -76, + ["font"] = "PT Sans Narrow", + ["X"] = 8, + }, + ["class"] = { + ["font"] = "PT Sans Narrow", + ["fontOutline"] = "2OUTLINE", + ["enabledFrame"] = false, + }, + ["damage"] = { + ["X"] = -339, + ["Y"] = 65, + ["font"] = "PT Sans Narrow", + ["fontOutline"] = "2OUTLINE", + }, + }, + } + end + xCT_Plus.db:SetProfile("S&L Darth") end - table.wipe(E.db) - E:CopyTable(E.db, P) - - table.wipe(E.private) - E:CopyTable(E.private, V) - - if E.db['movers'] then table.wipe(E.db['movers']) else E.db['movers'] = {} end - if not E.db["unitframe"]["units"]["party"]["customTexts"] then E.db["unitframe"]["units"]["party"]["customTexts"] = {} end - if not E.db["unitframe"]["units"]["raid40"]["customTexts"] then E.db["unitframe"]["units"]["raid40"]["customTexts"] = {} end - - E.db["sle"]["nameplate"]["showthreat"] = true - E.db["sle"]["nameplate"]["targetcount"] = true - E.db["sle"]["datatext"]["chathandle"] = true - E.db["sle"]["datatext"]["top"]["enabled"] = true - E.db["sle"]["datatext"]["top"]["transparent"] = true - E.db["sle"]["datatext"]["top"]["width"] = 100 - E.db["sle"]["datatext"]["bottom"]["enabled"] = true - E.db["sle"]["datatext"]["bottom"]["transparent"] = true - E.db["sle"]["datatext"]["bottom"]["width"] = 100 - E.db["sle"]["datatext"]["dp6"]["enabled"] = true - E.db["sle"]["datatext"]["dp6"]["transparent"] = true - E.db["sle"]["datatext"]["dp6"]["alpha"] = 0.8 - E.db["sle"]["datatext"]["dp6"]["width"] = 399 - E.db["sle"]["minimap"]["buttons"]["anchor"] = "VERTICAL" - E.db["sle"]["minimap"]["buttons"]["mouseover"] = true - E.db["sle"]["minimap"]["mapicons"]["skinmail"] = false - E.db["sle"]["minimap"]["mapicons"]["iconmouseover"] = true - - SLE:SetMoverPosition("DP_6_Mover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 3) - SLE:SetMoverPosition("ElvUF_PlayerCastbarMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 96) - SLE:SetMoverPosition("ElvUF_RaidMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 440, 511) - SLE:SetMoverPosition("LeftChatMover", "BOTTOMLEFT", UIParent, "BOTTOMLEFT", 0, 21) - SLE:SetMoverPosition("ElvUF_Raid10Mover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 449, 511) - SLE:SetMoverPosition("BossButton", "TOPLEFT", ElvUIParent, "TOPLEFT", 622, -352) - SLE:SetMoverPosition("ElvUF_FocusMover", "BOTTOM", ElvUIParent, "BOTTOM", -63, 436) - SLE:SetMoverPosition("ClassBarMover", "BOTTOM", ElvUIParent, "BOTTOM", -337, 500) - SLE:SetMoverPosition("SquareMinimapBar", "TOPRIGHT", ElvUIParent, "TOPRIGHT", -4, -211) - SLE:SetMoverPosition("ElvUF_TargetMover", "BOTTOM", ElvUIParent, "BOTTOM", 278, 200) - SLE:SetMoverPosition("ElvUF_Raid40Mover", "TOPLEFT", ElvUIParent, "TOPLEFT", 447, -468) - SLE:SetMoverPosition("ElvAB_1", "BOTTOM", ElvUIParent, "BOTTOM", 0, 59) - SLE:SetMoverPosition("ElvAB_2", "BOTTOM", ElvUIParent, "BOTTOM", 0, 25) - SLE:SetMoverPosition("ElvAB_4", "BOTTOMLEFT", ElvUIParent, "BOTTOMRIGHT", -413, 200) - SLE:SetMoverPosition("AltPowerBarMover", "BOTTOM", ElvUIParent, "BOTTOM", -300, 338) - SLE:SetMoverPosition("ElvAB_3", "BOTTOM", ElvUIParent, "BOTTOM", 254, 25) - SLE:SetMoverPosition("ElvAB_5", "BOTTOM", ElvUIParent, "BOTTOM", -254, 25) - SLE:SetMoverPosition("MMButtonsMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", -214, -160) - SLE:SetMoverPosition("ElvUF_PlayerMover", "BOTTOM", ElvUIParent, "BOTTOM", -278, 200) - SLE:SetMoverPosition("ElvUF_TargetTargetMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 190) - SLE:SetMoverPosition("ShiftAB", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 414, 21) - SLE:SetMoverPosition("RightChatMover", "BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", 0, 21) - SLE:SetMoverPosition("TotemBarMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 414, 21) - SLE:SetMoverPosition("ArenaHeaderMover", "TOPRIGHT", ElvUIParent, "TOPRIGHT", -210, -410) - SLE:SetMoverPosition("DP_5_Mover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 4, 327) - SLE:SetMoverPosition("Top_Center_Mover", "BOTTOM", ElvUIParent, "BOTTOM", -254, 3) - SLE:SetMoverPosition("BossHeaderMover", "BOTTOMRIGHT", ElvUIParent, "BOTTOMRIGHT", -210, 435) - SLE:SetMoverPosition("ElvUF_PetMover", "BOTTOM", ElvUIParent, "BOTTOM", 0, 230) - SLE:SetMoverPosition("ElvAB_6", "BOTTOM", ElvUIParent, "BOTTOM", 0, 102) - SLE:SetMoverPosition("ElvUF_PartyMover", "BOTTOMLEFT", ElvUIParent, "BOTTOMLEFT", 449, 511) - SLE:SetMoverPosition("Bottom_Panel_Mover", "BOTTOM", ElvUIParent, "BOTTOM", 254, 3) - SLE:SetMoverPosition("PetAB", "TOPRIGHT", ElvUIParent, "TOPRIGHT", -4, -433) - SLE:SetMoverPosition("ElvUF_Raid25Mover", "TOPLEFT", ElvUIParent, "TOPLEFT", 449, -448) - E.db["gridSize"] = 110 + _G["PluginInstallStepComplete"].message = L["Addons settings imported"] + _G["PluginInstallStepComplete"]:Show() +end - E.db["tooltip"]["style"] = "inset" - E.db["tooltip"]["visibility"]["combat"] = true +local function SetupCVars() + SetCVar("mapFade", "0") + SetCVar("cameraSmoothStyle", "0") + SetCVar("autoLootDefault", "1") - E.db["chat"]["timeStampFormat"] = "%I:%M " - E.db["chat"]["editBoxPosition"] = "ABOVE_CHAT" - E.db["chat"]["lfgIcons"] = false - E.db["chat"]["emotionIcons"] = false + SetAutoDeclineGuildInvites(true) + SetInsertItemsLeftToRight(false) - E.db["unitframe"]["units"]["tank"]["enable"] = false - E.db["unitframe"]["units"]["party"]["horizontalSpacing"] = 1 - E.db["unitframe"]["units"]["party"]["debuffs"]["sizeOverride"] = 21 - E.db["unitframe"]["units"]["party"]["debuffs"]["yOffset"] = -7 - E.db["unitframe"]["units"]["party"]["debuffs"]["anchorPoint"] = "TOPRIGHT" - E.db["unitframe"]["units"]["party"]["debuffs"]["xOffset"] = -4 - E.db["unitframe"]["units"]["party"]["buffs"]["enable"] = true - E.db["unitframe"]["units"]["party"]["buffs"]["yOffset"] = 28 - E.db["unitframe"]["units"]["party"]["buffs"]["anchorPoint"] = "BOTTOMLEFT" - E.db["unitframe"]["units"]["party"]["buffs"]["clickThrough"] = true - E.db["unitframe"]["units"]["party"]["buffs"]["useBlacklist"] = false - E.db["unitframe"]["units"]["party"]["buffs"]["noDuration"] = false - E.db["unitframe"]["units"]["party"]["buffs"]["playerOnly"] = false - E.db["unitframe"]["units"]["party"]["buffs"]["perrow"] = 1 - E.db["unitframe"]["units"]["party"]["buffs"]["useFilter"] = "TurtleBuffs" - E.db["unitframe"]["units"]["party"]["buffs"]["noConsolidated"] = false - E.db["unitframe"]["units"]["party"]["buffs"]["sizeOverride"] = 22 - E.db["unitframe"]["units"]["party"]["buffs"]["xOffset"] = 30 - E.db["unitframe"]["units"]["party"]["growthDirection"] = "LEFT_UP" - E.db["unitframe"]["units"]["party"]["GPSArrow"]["size"] = 40 - E.db["unitframe"]["units"]["party"]["buffIndicator"]["size"] = 10 - E.db["unitframe"]["units"]["party"]["roleIcon"]["enable"] = false - E.db["unitframe"]["units"]["party"]["roleIcon"]["position"] = "BOTTOMRIGHT" - E.db["unitframe"]["units"]["party"]["targetsGroup"]["anchorPoint"] = "BOTTOM" - E.db["unitframe"]["units"]["party"]["power"]["text_format"] = "" - E.db["unitframe"]["units"]["party"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"] = {} - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"]["font"] = "Homespun" - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"]["justifyH"] = "CENTER" - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"]["fontOutline"] = "MONOCHROMEOUTLINE" - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"]["xOffset"] = 0 - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"]["yOffset"] = -7 - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"]["text_format"] = "[healthcolor][health:deficit]" - E.db["unitframe"]["units"]["party"]["customTexts"]["Health Text"]["size"] = 10 - E.db["unitframe"]["units"]["party"]["healPrediction"] = true - E.db["unitframe"]["units"]["party"]["width"] = 80 - E.db["unitframe"]["units"]["party"]["name"]["text_format"] = "[namecolor][name:veryshort] [difficultycolor][smartlevel]" - E.db["unitframe"]["units"]["party"]["name"]["position"] = "TOP" - E.db["unitframe"]["units"]["party"]["health"]["frequentUpdates"] = true - E.db["unitframe"]["units"]["party"]["health"]["position"] = "BOTTOM" - E.db["unitframe"]["units"]["party"]["health"]["text_format"] = "" - E.db["unitframe"]["units"]["party"]["height"] = 45 - E.db["unitframe"]["units"]["party"]["verticalSpacing"] = 1 - E.db["unitframe"]["units"]["party"]["petsGroup"]["anchorPoint"] = "BOTTOM" - E.db["unitframe"]["units"]["party"]["raidicon"]["attachTo"] = "LEFT" - E.db["unitframe"]["units"]["party"]["raidicon"]["xOffset"] = 9 - E.db["unitframe"]["units"]["party"]["raidicon"]["yOffset"] = 0 - E.db["unitframe"]["units"]["party"]["raidicon"]["size"] = 13 - E.db["unitframe"]["units"]["raid40"]["horizontalSpacing"] = 1 - E.db["unitframe"]["units"]["raid40"]["debuffs"]["enable"] = true - E.db["unitframe"]["units"]["raid40"]["debuffs"]["yOffset"] = -9 - E.db["unitframe"]["units"]["raid40"]["debuffs"]["anchorPoint"] = "TOPRIGHT" - E.db["unitframe"]["units"]["raid40"]["debuffs"]["clickThrough"] = true - E.db["unitframe"]["units"]["raid40"]["debuffs"]["useBlacklist"] = false - E.db["unitframe"]["units"]["raid40"]["debuffs"]["perrow"] = 2 - E.db["unitframe"]["units"]["raid40"]["debuffs"]["useFilter"] = "Blacklist" - E.db["unitframe"]["units"]["raid40"]["debuffs"]["sizeOverride"] = 21 - E.db["unitframe"]["units"]["raid40"]["debuffs"]["xOffset"] = -4 - E.db["unitframe"]["units"]["raid40"]["rdebuffs"]["size"] = 26 - E.db["unitframe"]["units"]["raid40"]["growthDirection"] = "UP_LEFT" - E.db["unitframe"]["units"]["raid40"]["health"]["frequentUpdates"] = true - E.db["unitframe"]["units"]["raid40"]["power"]["enable"] = true - E.db["unitframe"]["units"]["raid40"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["raid40"]["power"]["position"] = "CENTER" - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"] = {} - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"]["font"] = "Homespun" - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"]["justifyH"] = "CENTER" - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"]["fontOutline"] = "MONOCHROMEOUTLINE" - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"]["xOffset"] = 0 - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"]["yOffset"] = -7 - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"]["text_format"] = "[healthcolor][health:deficit]" - E.db["unitframe"]["units"]["raid40"]["customTexts"]["Health Text"]["size"] = 10 - E.db["unitframe"]["units"]["raid40"]["healPrediction"] = true - E.db["unitframe"]["units"]["raid40"]["width"] = 50 - E.db["unitframe"]["units"]["raid40"]["invertGroupingOrder"] = false - E.db["unitframe"]["units"]["raid40"]["name"]["text_format"] = "[namecolor][name:veryshort]" - E.db["unitframe"]["units"]["raid40"]["name"]["position"] = "TOP" - E.db["unitframe"]["units"]["raid40"]["buffs"]["enable"] = true - E.db["unitframe"]["units"]["raid40"]["buffs"]["yOffset"] = 25 - E.db["unitframe"]["units"]["raid40"]["buffs"]["anchorPoint"] = "BOTTOMLEFT" - E.db["unitframe"]["units"]["raid40"]["buffs"]["clickThrough"] = true - E.db["unitframe"]["units"]["raid40"]["buffs"]["useBlacklist"] = false - E.db["unitframe"]["units"]["raid40"]["buffs"]["noDuration"] = false - E.db["unitframe"]["units"]["raid40"]["buffs"]["playerOnly"] = false - E.db["unitframe"]["units"]["raid40"]["buffs"]["perrow"] = 1 - E.db["unitframe"]["units"]["raid40"]["buffs"]["useFilter"] = "TurtleBuffs" - E.db["unitframe"]["units"]["raid40"]["buffs"]["noConsolidated"] = false - E.db["unitframe"]["units"]["raid40"]["buffs"]["sizeOverride"] = 17 - E.db["unitframe"]["units"]["raid40"]["buffs"]["xOffset"] = 21 - E.db["unitframe"]["units"]["raid40"]["height"] = 43 - E.db["unitframe"]["units"]["raid40"]["verticalSpacing"] = 1 - E.db["unitframe"]["units"]["raid40"]["raidicon"]["attachTo"] = "LEFT" - E.db["unitframe"]["units"]["raid40"]["raidicon"]["xOffset"] = 9 - E.db["unitframe"]["units"]["raid40"]["raidicon"]["yOffset"] = 0 - E.db["unitframe"]["units"]["raid40"]["raidicon"]["size"] = 13 - E.db["unitframe"]["units"]["focus"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["target"]["portrait"]["overlay"] = true - E.db["unitframe"]["units"]["target"]["aurabar"]["enable"] = false - E.db["unitframe"]["units"]["target"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["target"]["power"]["height"] = 11 - E.db["unitframe"]["units"]["raid"]["debuffs"]["countFontSize"] = 13 - E.db["unitframe"]["units"]["raid"]["debuffs"]["fontSize"] = 9 - E.db["unitframe"]["units"]["raid"]["debuffs"]["enable"] = true - E.db["unitframe"]["units"]["raid"]["debuffs"]["yOffset"] = -7 - E.db["unitframe"]["units"]["raid"]["debuffs"]["anchorPoint"] = "TOPRIGHT" - E.db["unitframe"]["units"]["raid"]["debuffs"]["sizeOverride"] = 21 - E.db["unitframe"]["units"]["raid"]["debuffs"]["xOffset"] = -4 - E.db["unitframe"]["units"]["raid"]["growthDirection"] = "LEFT_UP" - E.db["unitframe"]["units"]["raid"]["numGroups"] = 8 - E.db["unitframe"]["units"]["raid"]["roleIcon"]["enable"] = false - E.db["unitframe"]["units"]["raid"]["healPrediction"] = true - E.db["unitframe"]["units"]["raid"]["power"]["height"] = 8 - E.db["unitframe"]["units"]["raid"]["buffs"]["enable"] = true - E.db["unitframe"]["units"]["raid"]["buffs"]["yOffset"] = 28 - E.db["unitframe"]["units"]["raid"]["buffs"]["anchorPoint"] = "BOTTOMLEFT" - E.db["unitframe"]["units"]["raid"]["buffs"]["clickThrough"] = true - E.db["unitframe"]["units"]["raid"]["buffs"]["useBlacklist"] = false - E.db["unitframe"]["units"]["raid"]["buffs"]["noDuration"] = false - E.db["unitframe"]["units"]["raid"]["buffs"]["playerOnly"] = false - E.db["unitframe"]["units"]["raid"]["buffs"]["perrow"] = 1 - E.db["unitframe"]["units"]["raid"]["buffs"]["useFilter"] = "TurtleBuffs" - E.db["unitframe"]["units"]["raid"]["buffs"]["noConsolidated"] = false - E.db["unitframe"]["units"]["raid"]["buffs"]["sizeOverride"] = 22 - E.db["unitframe"]["units"]["raid"]["buffs"]["xOffset"] = 30 - E.db["unitframe"]["units"]["focustarget"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["pettarget"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["pet"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["player"]["debuffs"]["attachTo"] = "BUFFS" - E.db["unitframe"]["units"]["player"]["portrait"]["overlay"] = true - E.db["unitframe"]["units"]["player"]["classbar"]["detachFromFrame"] = true - E.db["unitframe"]["units"]["player"]["classbar"]["enable"] = false - E.db["unitframe"]["units"]["player"]["aurabar"]["enable"] = false - E.db["unitframe"]["units"]["player"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["player"]["power"]["height"] = 11 - E.db["unitframe"]["units"]["player"]["buffs"]["enable"] = true - E.db["unitframe"]["units"]["player"]["buffs"]["noDuration"] = false - E.db["unitframe"]["units"]["player"]["buffs"]["attachTo"] = "FRAME" - E.db["unitframe"]["units"]["player"]["castbar"]["width"] = 399 - E.db["unitframe"]["units"]["player"]["castbar"]["height"] = 25 - E.db["unitframe"]["units"]["boss"]["portrait"]["enable"] = true - E.db["unitframe"]["units"]["boss"]["portrait"]["overlay"] = true - E.db["unitframe"]["units"]["boss"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["arena"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["targettarget"]["power"]["width"] = "inset" - E.db["unitframe"]["units"]["assist"]["targetsGroup"]["enable"] = false - E.db["unitframe"]["units"]["assist"]["enable"] = false - E.db["unitframe"]["statusbar"] = "Polished Wood" - E.db["unitframe"]["colors"]["auraBarBuff"] = { - ["b"] = 0.0941176470588236, - ["g"] = 0.0784313725490196, - ["r"] = 0.309803921568628, - } - E.db["unitframe"]["colors"]["transparentPower"] = true - E.db["unitframe"]["colors"]["castColor"] = { - ["b"] = 0.1, - ["g"] = 0.1, - ["r"] = 0.1, - } - E.db["unitframe"]["colors"]["health"] = { - ["b"] = 0.235294117647059, - ["g"] = 0.235294117647059, - ["r"] = 0.235294117647059, - } - E.db["unitframe"]["colors"]["transparentHealth"] = true - E.db["unitframe"]["colors"]["transparentCastbar"] = true - E.db["unitframe"]["colors"]["transparentAurabars"] = true + _G["PluginInstallStepComplete"].message = L["CVars Set"] + _G["PluginInstallStepComplete"]:Show() +end - E.db["datatexts"]["minimapPanels"] = false - E.db["datatexts"]["fontSize"] = 12 - E.db["datatexts"]["panelTransparency"] = true - E.db["datatexts"]["panels"]["DP_3"]["middle"] = "DPS" - E.db["datatexts"]["panels"]["RightChatDataPanel"]["right"] = "Skada" - E.db["datatexts"]["panels"]["RightChatDataPanel"]["left"] = "Combat/Arena Time" - E.db["datatexts"]["panels"]["DP_1"]["middle"] = "Friends" - E.db["datatexts"]["panels"]["DP_5"]["middle"] = "Friends" - E.db["datatexts"]["panels"]["LeftChatDataPanel"]["right"] = "Haste" - E.db["datatexts"]["panels"]["LeftChatDataPanel"]["left"] = "Spell/Heal Power" - E.db["datatexts"]["panels"]["RightMiniPanel"] = "Gold" - E.db["datatexts"]["panels"]["Top_Center"] = "WIM" - E.db["datatexts"]["panels"]["Bottom_Panel"] = "Talent/Loot Specialization" - E.db["datatexts"]["panels"]["DP_6"]["right"] = "Gold" - E.db["datatexts"]["panels"]["DP_6"]["left"] = "System" - E.db["datatexts"]["panels"]["DP_6"]["middle"] = "Time" - E.db["datatexts"]["panels"]["DP_2"]["middle"] = "Attack Power" - E.db["datatexts"]["panels"]["LeftMiniPanel"] = "Time" - E.db["datatexts"]["font"] = "PT Sans Narrow" - E.db["datatexts"]["fontOutline"] = "None" - E.db["datatexts"]["battleground"] = false +local function StartSetup() + if PI.SLE_Auth == "DARTH" then + DarthSetup() + elseif PI.SLE_Auth == "REPOOC" then - if IsAddOnLoaded("ElvUI_DTBars2") then - if not E.db.dtbars then E.db.dtbars = {} end - for name, data in pairs(E.global.dtbars) do - if dtbarsList[name] then - E.db.dtbars[name] = dtbarsList[name] - E.db.datatexts.panels[name] = dtbarsTexts[name] - end - end end +end - E.db["actionbar"]["bar3"]["buttonspacing"] = 1 - E.db["actionbar"]["bar3"]["buttonsPerRow"] = 3 - E.db["actionbar"]["bar3"]["alpha"] = 0.4 - E.db["actionbar"]["bar2"]["enabled"] = true - E.db["actionbar"]["bar2"]["buttonspacing"] = 1 - E.db["actionbar"]["bar2"]["alpha"] = 0.6 - E.db["actionbar"]["bar5"]["buttonspacing"] = 1 - E.db["actionbar"]["bar5"]["buttonsPerRow"] = 3 - E.db["actionbar"]["bar5"]["alpha"] = 0.4 - E.db["actionbar"]["bar1"]["buttonspacing"] = 1 - E.db["actionbar"]["bar1"]["alpha"] = 0.6 - E.db["actionbar"]["stanceBar"]["buttonsPerRow"] = 1 - E.db["actionbar"]["stanceBar"]["alpha"] = 0.6 - E.db["actionbar"]["bar4"]["enabled"] = false - E.db["actionbar"]["bar4"]["point"] = "BOTTOMLEFT" - E.db["actionbar"]["bar4"]["alpha"] = 0.4 - E.db["actionbar"]["bar4"]["buttonsPerRow"] = 6 - E.db["actionbar"]["bar4"]["backdrop"] = false - - E.db["general"]["autoRepair"] = "GUILD" - E.db["general"]["bottomPanel"] = false - E.db["general"]["backdropfadecolor"]["b"] = 0.054 - E.db["general"]["backdropfadecolor"]["g"] = 0.054 - E.db["general"]["backdropfadecolor"]["r"] = 0.054 - E.db["general"]["valuecolor"] = { - ["b"] = 0.819, - ["g"] = 0.513, - ["r"] = 0.09, - } - E.db["general"]["threat"]["position"] = "LEFTCHAT" - E.db["general"]["topPanel"] = false - E.db["general"]["vendorGrays"] = true - - E.private["general"]["normTex"] = "Polished Wood" - E.private["general"]["chatBubbles"] = "nobackdrop" - E.private["general"]["glossTex"] = "Polished Wood" - - E.private["theme"] = "default" - - if AddOnSkins then - E.private["addonskins"]["Blizzard_WorldStateCaptureBar"] = true - E.private["addonskins"]["EmbedSystem"] = false - E.private["addonskins"]["EmbedSystemDual"] = true - E.private["addonskins"]['EmbedLeft'] = 'Skada' - E.private["addonskins"]['EmbedRight'] = 'Skada' +local function SetupAddons() + if PI.SLE_Auth == "DARTH" then + DarthAddons() end - - E.db.layoutSet = layout - E.private["install_complete"] = installMark - E.private["sle"]["install_complete"] = installMarkSLE - - E:UpdateAll(true) end local function InstallComplete() @@ -1191,303 +845,146 @@ local function InstallComplete() ReloadUI() end -local function ResetAll() - SLEInstallNextButton:Disable() - SLEInstallPrevButton:Disable() - SLEInstallOption1Button:Hide() - SLEInstallOption1Button:SetScript("OnClick", nil) - SLEInstallOption1Button:SetText("") - SLEInstallOption2Button:Hide() - SLEInstallOption2Button:SetScript('OnClick', nil) - SLEInstallOption2Button:SetText('') - SLEInstallOption3Button:Hide() - SLEInstallOption3Button:SetScript('OnClick', nil) - SLEInstallOption3Button:SetText('') - SLEInstallOption4Button:Hide() - SLEInstallOption4Button:SetScript('OnClick', nil) - SLEInstallOption4Button:SetText('') - SLEInstallFrame.SubTitle:SetText("") - SLEInstallFrame.Desc1:SetText("") - SLEInstallFrame.Desc2:SetText("") - SLEInstallFrame.Desc3:SetText("") - SLEInstallFrame:Size(550, 400) -end - -local function SetPage(PageNum) - CURRENT_PAGE = PageNum - ResetAll() - SLEInstallStatus:SetValue(PageNum) - - local f = SLEInstallFrame - - if PageNum == MAX_PAGE then - SLEInstallNextButton:Disable() - else - SLEInstallNextButton:Enable() - end - - if PageNum == 1 then - SLEInstallPrevButton:Disable() - else - SLEInstallPrevButton:Enable() - end - - if PageNum == 1 then - f.SubTitle:SetText(format(L["Welcome to |cff1784d1Shadow & Light|r version %s!"], SLE.version)) - f.Desc1:SetText(L["This will take you through a quick install process to setup some Shadow & Light features.\nIf you choose to not setup any options through this config, click Skip Process button to finish the installation."]) - f.Desc2:SetText("") - f.Desc3:SetText(L["Please press the continue button to go onto the next step."]) - - SLEInstallOption1Button:Show() - SLEInstallOption1Button:SetScript("OnClick", InstallComplete) - SLEInstallOption1Button:SetText(L["Skip Process"]) - elseif PageNum == 2 then - f.SubTitle:SetText(L["Chat"]) - f.Desc1:SetText(L["This will determine if you want to use ElvUI's default layout for chat datatext panels or let Shadow & Light handle them."]) - f.Desc2:SetText(L["If you select S&L Panels, the datatext panels will be attached below the left and right chat frames instead of being inside the chat frame."]) - f.Desc3:SetText(L["Importance: |cffD3CF00Medium|r"]) - - SLEInstallOption1Button:Show() - SLEInstallOption1Button:SetScript("OnClick", function() E.db.sle.datatext.chathandle = false; E:GetModule('Layout'):ToggleChatPanels() end) - SLEInstallOption1Button:SetText("ElvUI") - SLEInstallOption2Button:Show() - SLEInstallOption2Button:SetScript('OnClick', function() E.db.sle.datatext.chathandle = true; E:GetModule('Layout'):ToggleChatPanels() end) - SLEInstallOption2Button:SetText("Shadow & Light") - elseif PageNum == 3 then - f.SubTitle:SetText(L["Armory Mode"]) - f.Desc1:SetText(L["SLE_ARMORY_INSTALL"]) - f.Desc2:SetText(L["This will enable S&L Armory mode components that will show more detailed information at a quick glance on the toons you inspect or your own character."]) - f.Desc3:SetText(L["Importance: |cffFF0000Low|r"]) - - SLEInstallOption1Button:Show() - SLEInstallOption1Button:SetScript('OnClick', function() E.db.sle.Armory.Character.Enable = true; E.db.sle.Armory.Inspect.Enable = true; end) - SLEInstallOption1Button:SetText(ENABLE) - - SLEInstallOption2Button:Show() - SLEInstallOption2Button:SetScript('OnClick', function() E.db.sle.Armory.Character.Enable = false; E.db.sle.Armory.Inspect.Enable = false; end) - SLEInstallOption2Button:SetText(DISABLE) - - elseif PageNum == 4 then - f.SubTitle:SetText(L["Shadow & Light Layouts"]) - f.Desc1:SetText(L["You can now choose if you want to use one of the authors' set of options. This will change the positioning of some elements as well of other various options."]) - local word = E.db.layoutSet == 'tank' and L["Tank"] or E.db.layoutSet == 'healer' and L["Healer"] or E.db.layoutSet == 'dpsMelee' and L['Physical DPS'] or E.db.layoutSet == 'dpsCaster' and L['Caster DPS'] or NONE - f.Desc2:SetText(format(L["SLE_Install_Text2"], word)) - f.Desc3:SetText(L["Importance: |cffFF0000Low|r"]) - - SLEInstallOption1Button:Show() - SLEInstallOption1Button:SetScript('OnClick', function() AI:DarthSetup() end) - SLEInstallOption1Button:SetText(L["Darth's Config"]) - - SLEInstallOption2Button:Show() - SLEInstallOption2Button:SetScript('OnClick', function() AI:AffinitiiSetup() end) - SLEInstallOption2Button:SetText(L["Affinitii's Config"]) - - SLEInstallOption3Button:Show() - SLEInstallOption3Button:SetScript('OnClick', function() AI:RepoocSetup() end) - SLEInstallOption3Button:SetText(L["Repooc's Config"]) - - SLEInstallFrame:Size(550, 500) - elseif PageNum == 5 then - f.SubTitle:SetText(L["Installation Complete"]) - f.Desc1:SetText(L["You are now finished with the installation process. If you are in need of technical support please visit us at http://www.tukui.org."]) - f.Desc2:SetText(L["Please click the button below so you can setup variables and ReloadUI."]) - SLEInstallOption1Button:Show() - SLEInstallOption1Button:SetScript("OnClick", InstallComplete) - SLEInstallOption1Button:SetText(L["Finished"]) - SLEInstallFrame:Size(550, 400) - end -end - -local function NextPage() - if CURRENT_PAGE ~= MAX_PAGE then - CURRENT_PAGE = CURRENT_PAGE + 1 - SetPage(CURRENT_PAGE) - end -end - -local function PreviousPage() - if CURRENT_PAGE ~= 1 then - CURRENT_PAGE = CURRENT_PAGE - 1 - SetPage(CURRENT_PAGE) - end -end - ---Install UI -function SLE:Install() - if not SLEInstallStepComplete then - local imsg = CreateFrame("Frame", "SLEInstallStepComplete", E.UIParent) - imsg:Size(418, 72) - imsg:Point("TOP", 0, -190) - imsg:Hide() - imsg:SetScript('OnShow', function(self) - if self.message then - PlaySoundFile([[Sound\Interface\LevelUp.wav]]) - self.text:SetText(self.message) - UIFrameFadeOut(self, 3.5, 1, 0) - E:Delay(4, function() self:Hide() end) - self.message = nil - else - self:Hide() - end - end) - - imsg.firstShow = false - - imsg.bg = imsg:CreateTexture(nil, 'BACKGROUND') - imsg.bg:SetTexture([[Interface\LevelUp\LevelUpTex]]) - imsg.bg:SetPoint('BOTTOM') - imsg.bg:Size(326, 103) - imsg.bg:SetTexCoord(0.00195313, 0.63867188, 0.03710938, 0.23828125) - imsg.bg:SetVertexColor(1, 1, 1, 0.6) - - imsg.lineTop = imsg:CreateTexture(nil, 'BACKGROUND') - imsg.lineTop:SetDrawLayer('BACKGROUND', 2) - imsg.lineTop:SetTexture([[Interface\LevelUp\LevelUpTex]]) - imsg.lineTop:SetPoint("TOP") - imsg.lineTop:Size(418, 7) - imsg.lineTop:SetTexCoord(0.00195313, 0.81835938, 0.01953125, 0.03320313) - - imsg.lineBottom = imsg:CreateTexture(nil, 'BACKGROUND') - imsg.lineBottom:SetDrawLayer('BACKGROUND', 2) - imsg.lineBottom:SetTexture([[Interface\LevelUp\LevelUpTex]]) - imsg.lineBottom:SetPoint("BOTTOM") - imsg.lineBottom:Size(418, 7) - imsg.lineBottom:SetTexCoord(0.00195313, 0.81835938, 0.01953125, 0.03320313) - - imsg.text = imsg:CreateFontString(nil, 'ARTWORK', 'GameFont_Gigantic') - imsg.text:Point("BOTTOM", 0, 12) - imsg.text:SetTextColor(1, 0.82, 0) - imsg.text:SetJustifyH("CENTER") - end - - --Create Frame - if not SLEInstallFrame then - local f = CreateFrame("Button", "SLEInstallFrame", E.UIParent) - f.SetPage = SetPage - f:Size(550, 400) - f:SetTemplate("Transparent") - f:SetPoint("CENTER") - f:SetFrameStrata('TOOLTIP') - - f.Title = f:CreateFontString(nil, 'OVERLAY') - f.Title:FontTemplate(nil, 17, nil) - f.Title:Point("TOP", 0, -5) - f.Title:SetText(L["|cff1784d1Shadow & Light|r Installation"]) - - f.Next = CreateFrame("Button", "SLEInstallNextButton", f, "UIPanelButtonTemplate") - f.Next:StripTextures() - f.Next:SetTemplate("Default", true) - f.Next:Size(110, 25) - f.Next:Point("BOTTOMRIGHT", -5, 5) - f.Next:SetText(CONTINUE) - f.Next:Disable() - f.Next:SetScript("OnClick", NextPage) - E.Skins:HandleButton(f.Next, true) - - f.Prev = CreateFrame("Button", "SLEInstallPrevButton", f, "UIPanelButtonTemplate") - f.Prev:StripTextures() - f.Prev:SetTemplate("Default", true) - f.Prev:Size(110, 25) - f.Prev:Point("BOTTOMLEFT", 5, 5) - f.Prev:SetText(PREVIOUS) - f.Prev:Disable() - f.Prev:SetScript("OnClick", PreviousPage) - E.Skins:HandleButton(f.Prev, true) - - f.Status = CreateFrame("StatusBar", "SLEInstallStatus", f) - f.Status:SetFrameLevel(f.Status:GetFrameLevel() + 2) - f.Status:CreateBackdrop("Default") - f.Status:SetStatusBarTexture(E["media"].normTex) - f.Status:SetStatusBarColor(unpack(E["media"].rgbvaluecolor)) - f.Status:SetMinMaxValues(0, MAX_PAGE) - f.Status:Point("TOPLEFT", f.Prev, "TOPRIGHT", 6, -2) - f.Status:Point("BOTTOMRIGHT", f.Next, "BOTTOMLEFT", -6, 2) - f.Status.text = f.Status:CreateFontString(nil, 'OVERLAY') - f.Status.text:FontTemplate() - f.Status.text:SetPoint("CENTER") - f.Status.text:SetText(CURRENT_PAGE.." / "..MAX_PAGE) - f.Status:SetScript("OnValueChanged", function(self) - self.text:SetText(self:GetValue().." / "..MAX_PAGE) - end) - - f.Option1 = CreateFrame("Button", "SLEInstallOption1Button", f, "UIPanelButtonTemplate") - f.Option1:StripTextures() - f.Option1:Size(160, 30) - f.Option1:Point("BOTTOM", 0, 55) - f.Option1:SetText("") - f.Option1:Hide() - E.Skins:HandleButton(f.Option1, true) - - f.Option2 = CreateFrame("Button", "SLEInstallOption2Button", f, "UIPanelButtonTemplate") - f.Option2:StripTextures() - f.Option2:Size(110, 30) - f.Option2:Point('BOTTOMLEFT', f, 'BOTTOM', 4, 55) - f.Option2:SetText("") - f.Option2:Hide() - f.Option2:SetScript('OnShow', function() f.Option1:SetWidth(110); f.Option1:ClearAllPoints(); f.Option1:Point('BOTTOMRIGHT', f, 'BOTTOM', -4, 55) end) - f.Option2:SetScript('OnHide', function() f.Option1:SetWidth(160); f.Option1:ClearAllPoints(); f.Option1:Point("BOTTOM", 0, 55) end) - E.Skins:HandleButton(f.Option2, true) - - f.Option3 = CreateFrame("Button", "SLEInstallOption3Button", f, "UIPanelButtonTemplate") - f.Option3:StripTextures() - f.Option3:Size(100, 30) - f.Option3:Point('LEFT', f.Option2, 'RIGHT', 4, 0) - f.Option3:SetText("") - f.Option3:Hide() - f.Option3:SetScript('OnShow', function() f.Option1:SetWidth(100); f.Option1:ClearAllPoints(); f.Option1:Point('RIGHT', f.Option2, 'LEFT', -4, 0); f.Option2:SetWidth(100); f.Option2:ClearAllPoints(); f.Option2:Point('BOTTOM', f, 'BOTTOM', 0, 55) end) - f.Option3:SetScript('OnHide', function() f.Option1:SetWidth(160); f.Option1:ClearAllPoints(); f.Option1:Point("BOTTOM", 0, 55); f.Option2:SetWidth(110); f.Option2:ClearAllPoints(); f.Option2:Point('BOTTOMLEFT', f, 'BOTTOM', 4, 55) end) - E.Skins:HandleButton(f.Option3, true) - - f.Option4 = CreateFrame("Button", "SLEInstallOption4Button", f, "UIPanelButtonTemplate") - f.Option4:StripTextures() - f.Option4:Size(100, 30) - f.Option4:Point('LEFT', f.Option3, 'RIGHT', 4, 0) - f.Option4:SetText("") - f.Option4:Hide() - f.Option4:SetScript('OnShow', function() - f.Option1:Width(100) - f.Option2:Width(100) - - f.Option1:ClearAllPoints(); - f.Option1:Point('RIGHT', f.Option2, 'LEFT', -4, 0); - f.Option2:ClearAllPoints(); - f.Option2:Point('BOTTOMRIGHT', f, 'BOTTOM', -4, 55) - end) - f.Option4:SetScript('OnHide', function() f.Option1:SetWidth(160); f.Option1:ClearAllPoints(); f.Option1:Point("BOTTOM", 0, 55); f.Option2:SetWidth(110); f.Option2:ClearAllPoints(); f.Option2:Point('BOTTOMLEFT', f, 'BOTTOM', 4, 55) end) - E.Skins:HandleButton(f.Option4, true) - - f.SubTitle = f:CreateFontString(nil, 'OVERLAY') - f.SubTitle:FontTemplate(nil, 15, nil) - f.SubTitle:Point("TOP", 0, -40) - - f.Desc1 = f:CreateFontString(nil, 'OVERLAY') - f.Desc1:FontTemplate() - f.Desc1:Point("TOPLEFT", 20, -75) - f.Desc1:Width(f:GetWidth() - 40) - - f.Desc2 = f:CreateFontString(nil, 'OVERLAY') - f.Desc2:FontTemplate() - f.Desc2:Point("TOPLEFT", 20, -125) - f.Desc2:Width(f:GetWidth() - 40) - - f.Desc3 = f:CreateFontString(nil, 'OVERLAY') - f.Desc3:FontTemplate() - f.Desc3:Point("TOP", f.Desc2, "BOTTOM", 0, -30) - f.Desc3:Width(f:GetWidth() - 40) - local close = CreateFrame("Button", "SLEInstallCloseButton", f, "UIPanelCloseButton") - close:SetPoint("TOPRIGHT", f, "TOPRIGHT") - close:SetScript("OnClick", function() - f:Hide() - CURRENT_PAGE = 0 - end) - E.Skins:HandleCloseButton(close) - - f.tutorialImage = f:CreateTexture('SLEInstallTutorialImage', 'OVERLAY') - f.tutorialImage:Size(256, 128) - f.tutorialImage:SetTexture('Interface\\AddOns\\ElvUI_SLE\\media\\textures\\SLE_Banner') - f.tutorialImage:Point('BOTTOM', 0, 85) - end +SLE.installTable = { + ["Name"] = "|cff9482c9Shadow & Light|r", + ["Title"] = L["|cff9482c9Shadow & Light|r Installation"], + ["tutorialImage"] = [[Interface\AddOns\ElvUI_SLE\media\textures\SLE_Banner]], + ["Pages"] = { + [1] = function() + _G["PluginInstallFrame"].SubTitle:SetText(T.format(L["Welcome to |cff9482c9Shadow & Light|r version %s!"], SLE.version)) + _G["PluginInstallFrame"].Desc1:SetText(L["SLE_INSTALL_WELCOME"]) + _G["PluginInstallFrame"].Desc2:SetText("") + _G["PluginInstallFrame"].Desc3:SetText(L["Please press the continue button to go onto the next step."]) + + _G["PluginInstallFrame"].Option1:Show() + _G["PluginInstallFrame"].Option1:SetScript("OnClick", InstallComplete) + _G["PluginInstallFrame"].Option1:SetText(L["Skip Process"]) + end, + [2] = function() + local KF, Info, Timer = T.unpack(_G["ElvUI_KnightFrame"]) + _G["PluginInstallFrame"].SubTitle:SetText(L["Armory Mode"]) + _G["PluginInstallFrame"].Desc1:SetText(L["SLE_ARMORY_INSTALL"]) + _G["PluginInstallFrame"].Desc2:SetText(L["This will enable S&L Armory mode components that will show more detailed information at a quick glance on the toons you inspect or your own character."]) + _G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cffFF0000Low|r"]) + + _G["PluginInstallFrame"].Option1:Show() + _G["PluginInstallFrame"].Option1:SetScript('OnClick', function() E.db.sle.Armory.Character.Enable = true; E.db.sle.Armory.Inspect.Enable = true; KF.Modules.CharacterArmory() end) + _G["PluginInstallFrame"].Option1:SetText(ENABLE) + + _G["PluginInstallFrame"].Option2:Show() + _G["PluginInstallFrame"].Option2:SetScript('OnClick', function() E.db.sle.Armory.Character.Enable = false; E.db.sle.Armory.Inspect.Enable = false; KF.Modules.CharacterArmory() end) + _G["PluginInstallFrame"].Option2:SetText(DISABLE) + end, + [3] = function() + _G["PluginInstallFrame"].SubTitle:SetText(L["AFK Mode"]) + _G["PluginInstallFrame"].Desc1:SetText(L["AFK Mode in |cff9482c9Shadow & Light|r is additional settings/elements for standard |cff1784d1ElvUI|r AFK screen."]) + _G["PluginInstallFrame"].Desc2:SetText(L["This option is bound to character and requires a UI reload to take effect."]) + _G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cffFF0000Low|r"]) + + _G["PluginInstallFrame"].Option1:Show() + _G["PluginInstallFrame"].Option1:SetScript('OnClick', function() E.private.sle.module.screensaver = true; end) + _G["PluginInstallFrame"].Option1:SetText(ENABLE) + + _G["PluginInstallFrame"].Option2:Show() + _G["PluginInstallFrame"].Option2:SetScript('OnClick', function() E.private.sle.module.screensaver = false; end) + _G["PluginInstallFrame"].Option2:SetText(DISABLE) + end, + [4] = function() + _G["PluginInstallFrame"].SubTitle:SetText(L["Move Blizzard frames"]) + _G["PluginInstallFrame"].Desc1:SetText(L["Allow some Blizzard frames to be moved around."]) + _G["PluginInstallFrame"].Desc2:SetText(L["This option is bound to character and requires a UI reload to take effect."]) + _G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cffD3CF00Medium|r"]) + + _G["PluginInstallFrame"].Option1:Show() + _G["PluginInstallFrame"].Option1:SetScript('OnClick', function() + E.private.sle.module.blizzmove = true; + _G["PluginInstallStepComplete"].message = L["Move Blizzard frames"].." ".."Set to |cff00FF00"..ENABLE.."|r" + _G["PluginInstallStepComplete"]:Show() + end) + _G["PluginInstallFrame"].Option1:SetText(ENABLE) + + _G["PluginInstallFrame"].Option2:Show() + _G["PluginInstallFrame"].Option2:SetScript('OnClick', function() + E.private.sle.module.blizzmove = false; + _G["PluginInstallStepComplete"].message = L["Move Blizzard frames"].." ".."Set to |cffFF0000"..DISABLE.."|r" + _G["PluginInstallStepComplete"]:Show() + end) + _G["PluginInstallFrame"].Option2:SetText(DISABLE) + end, + [5] = function() + PI.SLE_Auth = "" + PI.SLE_Word = E.db.layoutSet == 'tank' and L["Tank"] or E.db.layoutSet == 'healer' and L["Healer"] or E.db.layoutSet == 'dpsMelee' and L['Physical DPS'] or E.db.layoutSet == 'dpsCaster' and L['Caster DPS'] or NONE + _G["PluginInstallFrame"].SubTitle:SetText(L["Shadow & Light Imports"]) + _G["PluginInstallFrame"].Desc1:SetText(L["You can now choose if you want to use one of the authors' set of options. This will change the positioning of some elements as well of other various options."]) + _G["PluginInstallFrame"].Desc2:SetText(T.format(L["SLE_Install_Text_AUTHOR"], PI.SLE_Word)) + _G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cffFF0000Low|r"]) + + _G["PluginInstallFrame"].Option1:Show() + _G["PluginInstallFrame"].Option1:SetScript('OnClick', function() PI.SLE_Auth = "DARTH"; _G["PluginInstallFrame"].Next:Click() end) + _G["PluginInstallFrame"].Option1:SetText(L["Darth's Config"]) + + -- _G["PluginInstallFrame"].Option2:Show() + -- _G["PluginInstallFrame"].Option2:SetScript('OnClick', function() PI.SLE_Auth = "REPOOC"; _G["PluginInstallFrame"].Next:Click() end) + -- _G["PluginInstallFrame"].Option2:SetText(L["Repooc's Config"]) + + _G["PluginInstallFrame"]:Size(550, 500) + end, + [6] = function() + if PI.SLE_Auth == "" then _G["PluginInstallFrame"].SetPage(_G["PluginInstallFrame"].PrevPage == 5 and 7 or 5) return end + PI.SLE_Word = E.db.layoutSet == 'tank' and L["Tank"] or E.db.layoutSet == 'healer' and L["Healer"] or E.db.layoutSet == 'dpsMelee' and L['Physical DPS'] or E.db.layoutSet == 'dpsCaster' and L['Caster DPS'] or NONE + _G["PluginInstallFrame"].SubTitle:SetText(L["Layout & Settings Import"]) + _G["PluginInstallFrame"].Desc1:SetText(T.format(L["You have selected to use %s and role %s."], PI.SLE_Auth == "DARTH" and L["Darth's Config"] or PI.SLE_Auth == "REPOOC" and L["Repooc's Config"], PI.SLE_Word)) + _G["PluginInstallFrame"].Desc2:SetText(L["SLE_INSTALL_LAYOUT_TEXT2"]) + _G["PluginInstallFrame"].Desc3:SetText(L["Importance: |cffD3CF00Medium|r"]) + + _G["PluginInstallFrame"].Option1:Show() + _G["PluginInstallFrame"].Option1:SetScript('OnClick', StartSetup) + _G["PluginInstallFrame"].Option1:SetText(L["Layout"]) + + _G["PluginInstallFrame"].Option2:Show() + _G["PluginInstallFrame"].Option2:SetScript('OnClick', SetupAddons) + _G["PluginInstallFrame"].Option2:SetText(L["Addons"]) + + _G["PluginInstallFrame"].Option3:Show() + _G["PluginInstallFrame"].Option3:SetScript('OnClick', SetupCVars) + _G["PluginInstallFrame"].Option3:SetText(L["CVars"]) + end, + [7] = function() + _G["PluginInstallFrame"].SubTitle:SetText(L["Installation Complete"]) + _G["PluginInstallFrame"].Desc1:SetText(L["You are now finished with the installation process. If you are in need of technical support please visit us at http://www.tukui.org."]) + _G["PluginInstallFrame"].Desc2:SetText(L["Please click the button below so you can setup variables and ReloadUI."]) + + _G["PluginInstallFrame"].Option1:Show() + _G["PluginInstallFrame"].Option1:SetScript("OnClick", InstallComplete) + _G["PluginInstallFrame"].Option1:SetText(L["Finished"]) + end, + }, + ["StepTitles"] = { + [1] = START, + [2] = L["Armory Mode"], + [3] = L["AFK Mode"], + [4] = L["Moving Frames"], + [5] = L["Import Profile"], + [6] = L["Author Presets"].." *", + [7] = L["Finished"], + }, + ["StepTitlesColorSelected"] = {.53,.53,.93}, +} + +-- SLE.installTable2 = { + -- ["Name"] = "S&L2", + -- ["tutorialImage"] = [[Interface\AddOns\ElvUI_SLE\media\textures\SLE_Banner]], + -- ["Pages"] = { + -- [1] = function() + -- _G["PluginInstallFrame"].SubTitle:SetText(format(L["Welcome to |cff1784d1Shadow & Light|r 42342 version %s!"], SLE.version)) + -- _G["PluginInstallFrame"].Desc1:SetText(L["This will take you through a quick install process to setup some Shadow & Light features.\nIf you choose to not setup any options through this config, click Skip Process button to finish the installation."]) + -- _G["PluginInstallFrame"].Desc2:SetText("") + -- _G["PluginInstallFrame"].Desc3:SetText(L["Please press the continue button to go onto the next step."]) + + -- _G["PluginInstallFrame"].Option1:Show() + -- _G["PluginInstallFrame"].Option1:SetScript("OnClick", InstallComplete) + -- _G["PluginInstallFrame"].Option1:SetText(L["Skip Process"]) + -- end, + -- }, +-- } - SLEInstallFrame:Show() - NextPage() -end \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/BigWigs.lua b/ElvUI_SLE/core/installer/BigWigs.lua deleted file mode 100644 index 594d904..0000000 --- a/ElvUI_SLE/core/installer/BigWigs.lua +++ /dev/null @@ -1,35 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local AI = E:GetModule('SLE_AddonInstaller') - -local ace3 = true -- whether or not this database is a Ace3 profile -local name = 'BigWigs' -- the name of the addon -local dbname = 'BigWigs3DB' -- name of the addon database - -local function OnDemand(profile) -- function that creates the "load on demand" database - local database - if profile == "Affinitii" then - database = { - ["showBlizzardWarnings"] = true, - ["showBossmodChat"] = true, - ["seenmovies"] = { - [73] = true, - [74] = true, - [75] = true, - [76] = true, - }, - } - end - - if profile == "Repooc" then - -- No Settings - end - - if profile == "Darth" then - -- No Settings - end - - return database -end - --- register the profile with the engine -AI:RegisterAddonProfile(name, ace3, dbname, OnDemand) \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/BigWigsFights.lua b/ElvUI_SLE/core/installer/BigWigsFights.lua deleted file mode 100644 index 1e8d6a8..0000000 --- a/ElvUI_SLE/core/installer/BigWigsFights.lua +++ /dev/null @@ -1,91 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local AI = E:GetModule('SLE_AddonInstaller') - -local ace3 = false -- whether or not this database is a Ace3 profile -local name = 'BigWigs' -- the name of the addon -local dbname = 'BigWigs3DB' -- name of the addon database - -local function OnDemand(profile) -- function that creates the "load on demand" database - local database - if profile == "Affinitii" then - database = { - ["namespaces"] = { - ["BigWigs_Bosses_Madness of Deathwing"] = { - ["profiles"] = { - ["Shadow and Light (Affinitii)"] = { - ["Elementium Bolt"] = 643, - }, - }, - }, - ["BigWigs_Plugins_Proximity"] = { - ["profiles"] = { - ["Shadow and Light (Affinitii)"] = { - ["fontSize"] = 20.00000079528718, - ["posy"] = 265.5998002156482, - ["lock"] = true, - ["posx"] = 244.6221205041632, - ["sound"] = false, - ["font"] = "PT Sans Narrow", - }, - }, - }, - ["BigWigs_Plugins_Sounds"] = { - ["profiles"] = { - ["Shadow and Light (Affinitii)"] = { - ["Long"] = { - }, - ["Info"] = { - }, - ["Alarm"] = { - }, - ["Alert"] = { - }, - }, - }, - }, - ["BigWigs_Plugins_Messages"] = { - ["profiles"] = { - ["Shadow and Light (Affinitii)"] = { - ["fontSize"] = 20.00000079528718, - ["monochrome"] = false, - ["font"] = "PT Sans Narrow", - ["BWEmphasizeMessageAnchor_y"] = 465.0667085654549, - ["BWMessageAnchor_y"] = 440.8888495721501, - ["BWEmphasizeMessageAnchor_x"] = 610.8445805698311, - ["BWMessageAnchor_x"] = 610.8445307717618, - }, - }, - }, - ["BigWigs_Plugins_Bars"] = { - ["profiles"] = { - ["Shadow and Light (Affinitii)"] = { - ["BigWigsEmphasizeAnchor_y"] = 303.2888646270365, - ["BigWigsAnchor_y"] = 116.8001243424387, - ["emphasizeGrowup"] = false, - ["BigWigsAnchor_x"] = 19.73342363118923, - ["fill"] = false, - ["BigWigsAnchor_width"] = 381.8331333576473, - ["BigWigsEmphasizeAnchor_width"] = 216.1665623191371, - ["BigWigsEmphasizeAnchor_x"] = 272.8889300172694, - ["font"] = "PT Sans Narrow", - ["emphasizeScale"] = 1, - }, - }, - }, - }, - } - end - - if profile == "Repooc" then - -- No Settings - end - - if profile == "Darth" then - -- No Settings - end - - return database -end - --- register the profile with the engine -AI:RegisterAddonProfile(name, ace3, dbname, OnDemand) \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/BigWigsIcon.lua b/ElvUI_SLE/core/installer/BigWigsIcon.lua deleted file mode 100644 index 4ec1ac4..0000000 --- a/ElvUI_SLE/core/installer/BigWigsIcon.lua +++ /dev/null @@ -1,29 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local AI = E:GetModule('SLE_AddonInstaller') - -local ace3 = false -- whether or not this database is a Ace3 profile -local name = 'BigWigs' -- the name of the addon -local dbname = 'BigWigs3IconDB' -- name of the addon database - -local function OnDemand(profile) -- function that creates the "load on demand" database - local database - if profile == "Affinitii" then - database = { - ["minimapPos"] = 158.126507574158, - ["hide"] = true, - } - end - - if profile == "Repooc" then - -- No Settings - end - - if profile == "Darth" then - -- No Settings - end - - return database -end - --- register the profile with the engine -AI:RegisterAddonProfile(name, ace3, dbname, OnDemand) \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/Clique.lua b/ElvUI_SLE/core/installer/Clique.lua deleted file mode 100644 index e44019b..0000000 --- a/ElvUI_SLE/core/installer/Clique.lua +++ /dev/null @@ -1,27 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local AI = E:GetModule('SLE_AddonInstaller') - -local ace3 = false -- whether or not this database is a Ace3 profile -local name = 'Clique' -- the name of the addon -local dbname = 'CliqueDB3' -- name of the addon database - -local function OnDemand(profile) -- function that creates the "load on demand" database - local database - if profile == "Affinitii" then - -- No Settings - end - - if profile == "Repooc" then - --database = { - --} - end - - if profile == "Darth" then - -- No Settings - end - - return database -end - --- register the profile with the engine -AI:RegisterAddonProfile(name, ace3, dbname, OnDemand) \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/Hermes.lua b/ElvUI_SLE/core/installer/Hermes.lua deleted file mode 100644 index 7c65d56..0000000 --- a/ElvUI_SLE/core/installer/Hermes.lua +++ /dev/null @@ -1,1046 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local AI = E:GetModule('SLE_AddonInstaller') - -local ace3 = true -- whether or not this database is a Ace3 profile -local name = 'Hermes' -- the name of the addon -local dbname = 'HermesDB2' -- name of the addon database - -local function OnDemand(profile) -- function that creates the "load on demand" database - local database - if profile == "Affinitii" then - database = { - ["configMode"] = false, - ["pluginState"] = { - ["UI"] = true, - }, - ["spells"] = { - { - ["enabled"] = false, - ["name"] = "Ancestral Guidance", - ["id"] = 108281, - ["class"] = "SHAMAN", - ["icon"] = "Interface\\Icons\\ability_shaman_ancestralguidance", - }, -- [1] - { - ["enabled"] = false, - ["name"] = "Anti-Magic Shell", - ["id"] = 48707, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_Shadow_AntiMagicShell", - }, -- [2] - { - ["enabled"] = false, - ["name"] = "Anti-Magic Zone", - ["id"] = 51052, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_DeathKnight_AntiMagicZone", - }, -- [3] - { - ["enabled"] = false, - ["name"] = "Ardent Defender", - ["id"] = 31850, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_ArdentDefender", - }, -- [4] - { - ["enabled"] = false, - ["name"] = "Army of the Dead", - ["id"] = 42650, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_DeathKnight_ArmyOfTheDead", - }, -- [5] - { - ["enabled"] = false, - ["name"] = "Barkskin", - ["id"] = 22812, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Spell_Nature_StoneClawTotem", - }, -- [6] - { - ["enabled"] = false, - ["name"] = "Blind", - ["id"] = 2094, - ["class"] = "ROGUE", - ["icon"] = "Interface\\Icons\\Spell_Shadow_MindSteal", - }, -- [7] - { - ["enabled"] = false, - ["name"] = "Bloodlust", - ["id"] = 2825, - ["class"] = "SHAMAN", - ["icon"] = "Interface\\Icons\\Spell_Nature_BloodLust", - }, -- [8] - { - ["enabled"] = false, - ["name"] = "Bone Shield", - ["id"] = 49222, - ["class"] = "DEATHKNIGHT", - ["icon"] = "INTERFACE\\ICONS\\ability_deathknight_boneshield", - }, -- [9] - { - ["enabled"] = false, - ["name"] = "Cenarion Ward", - ["id"] = 102351, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Ability_Druid_NaturalPerfection", - }, -- [10] - { - ["enabled"] = false, - ["name"] = "Cloak of Shadows", - ["id"] = 31224, - ["class"] = "ROGUE", - ["icon"] = "Interface\\Icons\\Spell_Shadow_NetherCloak", - }, -- [11] - { - ["enabled"] = false, - ["name"] = "Counterspell", - ["id"] = 2139, - ["class"] = "MAGE", - ["icon"] = "Interface\\Icons\\Spell_Frost_IceShock", - }, -- [12] - { - ["enabled"] = false, - ["name"] = "Create Soulwell", - ["id"] = 29893, - ["class"] = "WARLOCK", - ["icon"] = "Interface\\Icons\\Spell_Shadow_Shadesofdarkness", - }, -- [13] - { - ["enabled"] = false, - ["name"] = "Dancing Rune Weapon", - ["id"] = 49028, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\INV_Sword_07", - }, -- [14] - { - ["enabled"] = false, - ["name"] = "Death Grip", - ["id"] = 49576, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_DeathKnight_Strangulate", - }, -- [15] - { - ["enabled"] = false, - ["name"] = "Death Pact", - ["id"] = 48743, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_Shadow_DeathPact", - }, -- [16] - { - ["enabled"] = false, - ["name"] = "Demoralizing Banner", - ["id"] = 114203, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\demoralizing_banner", - }, -- [17] - { - ["enabled"] = true, - ["name"] = "Devotion Aura", - ["id"] = 31821, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_AuraMastery", - }, -- [18] - { - ["enabled"] = false, - ["name"] = "Disrupting Shout", - ["id"] = 102060, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\warrior_disruptingshout", - }, -- [19] - { - ["enabled"] = true, - ["name"] = "Divine Hymn", - ["id"] = 64843, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\Spell_Holy_DivineHymn", - }, -- [20] - { - ["enabled"] = false, - ["name"] = "Divine Protection", - ["id"] = 498, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\spell_holy_divineprotection", - }, -- [21] - { - ["enabled"] = false, - ["name"] = "Divine Shield", - ["id"] = 642, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\spell_holy_divineshield", - }, -- [22] - { - ["enabled"] = false, - ["name"] = "Every Man for Himself", - ["id"] = 59752, - ["class"] = "ANY", - ["icon"] = "Interface\\Icons\\Spell_Shadow_Charm", - }, -- [23] - { - ["enabled"] = false, - ["name"] = "Fist of Justice", - ["id"] = 105593, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_FistOfJustice", - }, -- [24] - { - ["enabled"] = false, - ["name"] = "Frenzied Regeneration", - ["id"] = 22842, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Ability_BullRush", - }, -- [25] - { - ["enabled"] = false, - ["name"] = "Guardian Spirit", - ["id"] = 47788, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\Spell_Holy_GuardianSpirit", - }, -- [26] - { - ["enabled"] = false, - ["name"] = "Guardian of Ancient Kings", - ["id"] = 86659, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_Heroism", - }, -- [27] - { - ["enabled"] = false, - ["name"] = "Hammer of Justice", - ["id"] = 853, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_SealOfMight", - }, -- [28] - { - ["enabled"] = false, - ["name"] = "Hand of Freedom", - ["id"] = 1044, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_SealOfValor", - }, -- [29] - { - ["enabled"] = false, - ["name"] = "Hand of Protection", - ["id"] = 1022, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_SealOfProtection", - }, -- [30] - { - ["enabled"] = false, - ["name"] = "Hand of Purity", - ["id"] = 114039, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_SealOfWisdom", - }, -- [31] - { - ["enabled"] = false, - ["name"] = "Hand of Sacrifice", - ["id"] = 6940, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_SealOfSacrifice", - }, -- [32] - { - ["enabled"] = false, - ["name"] = "Hand of Salvation", - ["id"] = 1038, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_SealOfSalvation", - }, -- [33] - { - ["enabled"] = false, - ["name"] = "Healing Stream Totem", - ["id"] = 5394, - ["class"] = "SHAMAN", - ["icon"] = "Interface\\Icons\\INV_Spear_04", - }, -- [34] - { - ["enabled"] = false, - ["name"] = "Healing Tide Totem", - ["id"] = 108280, - ["class"] = "SHAMAN", - ["icon"] = "Interface\\Icons\\ability_shaman_healingtide", - }, -- [35] - { - ["enabled"] = true, - ["name"] = "Hymn of Hope", - ["id"] = 64901, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\Spell_Holy_SymbolOfHope", - }, -- [36] - { - ["enabled"] = false, - ["name"] = "Ice Block", - ["id"] = 45438, - ["class"] = "MAGE", - ["icon"] = "Interface\\Icons\\Spell_Frost_Frost", - }, -- [37] - { - ["enabled"] = false, - ["name"] = "Icebound Fortitude", - ["id"] = 48792, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_DeathKnight_IceBoundFortitude", - }, -- [38] - { - ["enabled"] = false, - ["name"] = "Incarnation: Tree of Life", - ["id"] = 33891, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Ability_Druid_ImprovedTreeForm", - }, -- [39] - { - ["enabled"] = false, - ["name"] = "Innervate", - ["id"] = 29166, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Spell_Nature_Lightning", - }, -- [40] - { - ["enabled"] = false, - ["name"] = "Ironbark", - ["id"] = 102342, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\spell_druid_ironbark", - }, -- [41] - { - ["enabled"] = false, - ["name"] = "Kick", - ["id"] = 1766, - ["class"] = "ROGUE", - ["icon"] = "Interface\\Icons\\Ability_Kick", - }, -- [42] - { - ["enabled"] = false, - ["name"] = "Last Stand", - ["id"] = 12975, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\Spell_Holy_AshesToAshes", - }, -- [43] - { - ["enabled"] = false, - ["name"] = "Lay on Hands", - ["id"] = 633, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_LayOnHands", - }, -- [44] - { - ["enabled"] = false, - ["name"] = "Leap of Faith", - ["id"] = 73325, - ["class"] = "PRIEST", - ["icon"] = "INTERFACE\\ICONS\\priest_spell_leapoffaith_a", - }, -- [45] - { - ["enabled"] = false, - ["name"] = "Lichborne", - ["id"] = 49039, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_Shadow_RaiseDead", - }, -- [46] - { - ["enabled"] = false, - ["name"] = "Life Cocoon", - ["id"] = 116849, - ["class"] = "MONK", - ["icon"] = "Interface\\Icons\\ability_monk_chicocoon", - }, -- [47] - { - ["enabled"] = true, - ["name"] = "Mana Tide Totem", - ["id"] = 16190, - ["class"] = "SHAMAN", - ["icon"] = "Interface\\Icons\\Spell_Frost_SummonWaterElemental", - }, -- [48] - { - ["enabled"] = false, - ["name"] = "Mass Spell Reflection", - ["id"] = 114028, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\Ability_Warrior_ShieldBreak", - }, -- [49] - { - ["enabled"] = false, - ["name"] = "Mighty Bash", - ["id"] = 5211, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Ability_Druid_Bash", - }, -- [50] - { - ["enabled"] = false, - ["name"] = "Mind Freeze", - ["id"] = 47528, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_DeathKnight_MindFreeze", - }, -- [51] - { - ["enabled"] = false, - ["name"] = "Misdirection", - ["id"] = 34477, - ["class"] = "HUNTER", - ["icon"] = "Interface\\Icons\\Ability_Hunter_Misdirection", - }, -- [52] - { - ["enabled"] = false, - ["name"] = "Nature's Vigil", - ["id"] = 124974, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Achievement_Zone_Feralas", - }, -- [53] - { - ["enabled"] = false, - ["name"] = "Pain Suppression", - ["id"] = 33206, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\Spell_Holy_PainSupression", - }, -- [54] - { - ["enabled"] = true, - ["name"] = "Power Word: Barrier", - ["id"] = 62618, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\spell_holy_powerwordbarrier", - }, -- [55] - { - ["enabled"] = false, - ["name"] = "Pummel", - ["id"] = 6552, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\INV_Gauntlets_04", - }, -- [56] - { - ["enabled"] = true, - ["name"] = "Raise Ally", - ["id"] = 61999, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_Shadow_DeadofNight", - }, -- [57] - { - ["enabled"] = false, - ["name"] = "Raise Dead", - ["id"] = 46584, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_Shadow_AnimateDead", - }, -- [58] - { - ["enabled"] = true, - ["name"] = "Rallying Cry", - ["id"] = 97462, - ["class"] = "WARRIOR", - ["icon"] = "INTERFACE\\ICONS\\ability_toughness", - }, -- [59] - { - ["enabled"] = true, - ["name"] = "Rebirth", - ["id"] = 20484, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Spell_Nature_Reincarnation", - }, -- [60] - { - ["enabled"] = false, - ["name"] = "Rebuke", - ["id"] = 96231, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\spell_holy_rebuke", - }, -- [61] - { - ["enabled"] = false, - ["name"] = "Reincarnation", - ["id"] = 20608, - ["class"] = "SHAMAN", - ["icon"] = "INTERFACE\\ICONS\\spell_shaman_improvedreincarnation", - }, -- [62] - { - ["enabled"] = false, - ["name"] = "Repentance", - ["id"] = 20066, - ["class"] = "PALADIN", - ["icon"] = "Interface\\Icons\\Spell_Holy_PrayerOfHealing", - }, -- [63] - { - ["enabled"] = true, - ["name"] = "Revival", - ["id"] = 115310, - ["class"] = "MONK", - ["icon"] = "Interface\\Icons\\Spell_Shaman_BlessingOfEternals", - }, -- [64] - { - ["enabled"] = false, - ["name"] = "Ritual of Summoning", - ["id"] = 698, - ["class"] = "WARLOCK", - ["icon"] = "Interface\\Icons\\Spell_Shadow_Twilight", - }, -- [65] - { - ["enabled"] = false, - ["name"] = "Shattering Throw", - ["id"] = 64382, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\Ability_Warrior_ShatteringThrow", - }, -- [66] - { - ["enabled"] = false, - ["name"] = "Shield Wall", - ["id"] = 871, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\Ability_Warrior_ShieldWall", - }, -- [67] - { - ["enabled"] = false, - ["name"] = "Shroud of Concealment", - ["id"] = 114018, - ["class"] = "ROGUE", - ["icon"] = "Interface\\Icons\\ability_rogue_shroudofconcealment", - }, -- [68] - { - ["enabled"] = false, - ["name"] = "Skull Banner", - ["id"] = 114207, - ["class"] = "WARRIOR", - ["icon"] = "Interface\\Icons\\warrior_skullbanner", - }, -- [69] - { - ["enabled"] = true, - ["name"] = "Soulstone", - ["id"] = 20707, - ["class"] = "WARLOCK", - ["icon"] = "Interface\\Icons\\Spell_Shadow_SoulGem", - }, -- [70] - { - ["enabled"] = true, - ["name"] = "Spirit Link Totem", - ["id"] = 98008, - ["class"] = "SHAMAN", - ["icon"] = "Interface\\Icons\\Spell_Shaman_SpiritLink", - }, -- [71] - { - ["enabled"] = false, - ["name"] = "Spirit Shell", - ["id"] = 109964, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\ability_shaman_astralshift", - }, -- [72] - { - ["enabled"] = false, - ["name"] = "Stoneform", - ["id"] = 20594, - ["class"] = "ANY", - ["icon"] = "Interface\\Icons\\Spell_Shadow_UnholyStrength", - }, -- [73] - { - ["enabled"] = false, - ["name"] = "Strangulate", - ["id"] = 47476, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_Shadow_SoulLeech_3", - }, -- [74] - { - ["enabled"] = false, - ["name"] = "Summon Water Elemental", - ["id"] = 31687, - ["class"] = "MAGE", - ["icon"] = "Interface\\Icons\\Spell_Frost_SummonWaterElemental_2", - }, -- [75] - { - ["enabled"] = false, - ["name"] = "Survival Instincts", - ["id"] = 61336, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Ability_Druid_TigersRoar", - }, -- [76] - { - ["enabled"] = false, - ["name"] = "Time Warp", - ["id"] = 80353, - ["class"] = "MAGE", - ["icon"] = "INTERFACE\\ICONS\\ability_mage_timewarp", - }, -- [77] - { - ["enabled"] = true, - ["name"] = "Tranquility", - ["id"] = 113277, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\Spell_Nature_Tranquility", - }, -- [78] - { - ["enabled"] = true, - ["name"] = "Tranquility", - ["id"] = 740, - ["class"] = "DRUID", - ["icon"] = "Interface\\Icons\\Spell_Nature_Tranquility", - }, -- [79] - { - ["enabled"] = false, - ["name"] = "Tricks of the Trade", - ["id"] = 57934, - ["class"] = "ROGUE", - ["icon"] = "Interface\\Icons\\Ability_Rogue_TricksOftheTrade", - }, -- [80] - { - ["enabled"] = false, - ["name"] = "Vampiric Blood", - ["id"] = 55233, - ["class"] = "DEATHKNIGHT", - ["icon"] = "Interface\\Icons\\Spell_Shadow_LifeDrain", - }, -- [81] - { - ["enabled"] = false, - ["name"] = "Vampiric Embrace", - ["id"] = 15286, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\Spell_Shadow_UnsummonBuilding", - }, -- [82] - { - ["enabled"] = false, - ["name"] = "Void Shift", - ["id"] = 108968, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\spell_priest_voidshift", - }, -- [83] - { - ["enabled"] = false, - ["name"] = "Void Tendrils", - ["id"] = 108920, - ["class"] = "PRIEST", - ["icon"] = "Interface\\Icons\\spell_priest_voidtendrils", - }, -- [84] - { - ["enabled"] = false, - ["name"] = "Wind Shear", - ["id"] = 57994, - ["class"] = "SHAMAN", - ["icon"] = "Interface\\Icons\\Spell_Nature_Cyclone", - }, -- [85] - { - ["enabled"] = false, - ["name"] = "Zen Meditation", - ["id"] = 115176, - ["class"] = "MONK", - ["icon"] = "Interface\\Icons\\ability_monk_zenmeditation", - }, -- [86] - }, - ["items"] = { - { - ["enabled"] = false, - ["name"] = "Mirror of Broken Images", - ["id"] = -62466, - ["class"] = "ANY", - ["icon"] = "Interface\\Icons\\INV_Misc_Platnumdisks", - }, -- [1] - }, - ["welcome"] = true, - ["plugins"] = { - ["Hermes-UI"] = { - ["views"] = { - { - ["module"] = "GridButtons", - ["filterrange"] = false, - ["filter10man"] = true, - ["filterself"] = false, - ["enabled"] = true, - ["profiles"] = { - ["GridBars"] = { - ["barShowTime"] = true, - ["npCCFont"] = true, - ["barShowPlayerName"] = true, - ["h"] = 838.6666870117188, - ["hideNoAvailSender"] = false, - ["barColorC"] = { - ["a"] = 0.74, - ["r"] = 0.55, - ["g"] = 0.55, - ["b"] = 0.55, - }, - ["locked"] = false, - ["barFont"] = "Friz Quadrata TT", - ["barBGColorU"] = { - ["a"] = 0.16, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["hideNoSender"] = true, - ["barTexture"] = "Blizzard", - ["osCooldownStyle"] = "empty", - ["barColorU"] = { - ["a"] = 0.23, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["y"] = 1175.333374023438, - ["x"] = 7.833518028259277, - ["barPadding"] = 1, - ["scale"] = 1, - ["npTexture"] = "Blizzard", - ["barCooldownDirection"] = "right", - ["barThickFont"] = false, - ["barBGCCU"] = false, - ["barColorCFont"] = { - ["a"] = 1, - ["r"] = 1, - ["g"] = 1, - ["b"] = 1, - }, - ["barCCAFont"] = false, - ["barTextRatio"] = 65, - ["cellAnchor"] = "TOPLEFT", - ["padding"] = 0, - ["barW"] = 150, - ["barIcon"] = "left", - ["npShowLabel"] = true, - ["barCCA"] = true, - ["barIconMerged"] = "left", - ["osFGColor"] = { - ["a"] = 1, - ["r"] = 0, - ["g"] = 1, - ["b"] = 0, - }, - ["barColorUFont"] = { - ["a"] = 0.3, - ["r"] = 1, - ["g"] = 1, - ["b"] = 1, - }, - ["barCooldownStyle"] = "empty", - ["barBGColorC"] = { - ["a"] = 0.16, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["osCooldownDirection"] = "right", - ["npThickFont"] = false, - ["barColorA"] = { - ["a"] = 1, - ["r"] = 0.94, - ["g"] = 0.94, - ["b"] = 0.94, - }, - ["npFontColor"] = { - ["a"] = 0.76, - ["r"] = 0.92, - ["g"] = 0.92, - ["b"] = 0.92, - }, - ["barCCU"] = false, - ["barCCC"] = true, - ["npUseNameplate"] = true, - ["barCCCFont"] = true, - ["cellSide"] = false, - ["npFont"] = "Friz Quadrata TT", - ["w"] = 158.6666564941406, - ["barTextSide"] = "left", - ["barCCUFont"] = false, - ["npOutlineFont"] = true, - ["osEnabled"] = false, - ["cellDir"] = false, - ["barShowSpellName"] = false, - ["barFontSize"] = 12, - ["barH"] = 14, - ["enableTooltip"] = true, - ["barGap"] = 2, - ["npCCBar"] = false, - ["npW"] = 120, - ["merged"] = false, - ["npUseIcon"] = true, - ["barColorAFont"] = { - ["a"] = 1, - ["r"] = 0.94, - ["g"] = 0.94, - ["b"] = 0.94, - }, - ["barBGCCC"] = true, - ["npIcon"] = "right", - ["cellMax"] = 3, - ["npFontSize"] = 12, - ["npTexColor"] = { - ["a"] = 0.5, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["npH"] = 15, - ["cellBGColor"] = { - ["a"] = 0, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["npTextSide"] = "right", - ["barOutlineFont"] = true, - }, - ["GridButtons"] = { - ["scale"] = 1, - ["hideNoSender"] = true, - ["merged"] = false, - ["coloredBorders"] = true, - ["w"] = 78.49994614504892, - ["mergedicon"] = "Interface\\ICONS\\INV_Misc_QuestionMark", - ["y"] = 1040.833318755454, - ["h"] = 621.6666788167995, - ["locked"] = true, - ["cellAnchor"] = "TOPLEFT", - ["colorNS"] = { - ["a"] = 0.75, - ["r"] = 0.5, - ["g"] = 0.5, - ["b"] = 0.5, - }, - ["padding"] = 5, - ["x"] = 3.333442160227062, - ["colorU"] = { - ["a"] = 1, - ["r"] = 0.5, - ["g"] = 0.5, - ["b"] = 0.5, - }, - }, - ["CooldownBars"] = { - ["barheight"] = 14, - ["scale"] = 1, - ["barTextSide"] = "left", - ["fontsize"] = 12, - ["locked"] = false, - ["barCooldownDirection"] = "right", - ["hideSelf"] = false, - ["textratio"] = 60, - ["osFGColor"] = { - ["a"] = 1, - ["r"] = 0, - ["g"] = 1, - ["b"] = 0, - }, - ["barwidth"] = 180, - ["bartexture"] = "Blizzard", - ["growup"] = false, - ["osCooldownDirection"] = "right", - ["alpha"] = 1, - ["barIcon"] = "left", - ["y"] = 1022.333312988281, - ["font"] = "Friz Quadrata TT", - ["barCooldownStyle"] = "full", - ["osEnabled"] = false, - ["osCooldownStyle"] = "full", - ["barShowSpellName"] = false, - ["x"] = 71.66675567626953, - ["barGap"] = 1, - }, - ["Bars"] = { - ["barIcon"] = "none", - ["npCCFont"] = true, - ["barW"] = 150, - ["barTextSide"] = "left", - ["barShowPlayerName"] = true, - ["barBGColorC"] = { - ["a"] = 0.16, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["barFontSize"] = 12, - ["locked"] = false, - ["barCCCFont"] = true, - ["barColorC"] = { - ["a"] = 0.74, - ["r"] = 0.55, - ["g"] = 0.55, - ["b"] = 0.55, - }, - ["barCCA"] = true, - ["barTextRatio"] = 65, - ["barLocation"] = "BOTTOM", - ["barCCC"] = true, - ["barColorAFont"] = { - ["a"] = 1, - ["r"] = 0.94, - ["g"] = 0.94, - ["b"] = 0.94, - }, - ["osFGColor"] = { - ["a"] = 1, - ["r"] = 0, - ["g"] = 1, - ["b"] = 0, - }, - ["barBGColorU"] = { - ["a"] = 0.16, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["hideNoSender"] = true, - ["barColorCFont"] = { - ["a"] = 1, - ["r"] = 1, - ["g"] = 1, - ["b"] = 1, - }, - ["barColorUFont"] = { - ["a"] = 0.3, - ["r"] = 1, - ["g"] = 1, - ["b"] = 1, - }, - ["osCooldownStyle"] = "empty", - ["barColorU"] = { - ["a"] = 0.23, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["y"] = 609, - ["x"] = 1016.666687011719, - ["barCooldownStyle"] = "empty", - ["npShowLabel"] = true, - ["scale"] = 1, - ["barPadding"] = 10, - ["npThickFont"] = false, - ["npUseNameplate"] = true, - ["npFontColor"] = { - ["a"] = 0.76, - ["r"] = 0.92, - ["g"] = 0.92, - ["b"] = 0.92, - }, - ["barCCU"] = false, - ["npOutlineFont"] = true, - ["barBGCCU"] = false, - ["npFontSize"] = 12, - ["barShowTime"] = true, - ["npFont"] = "Friz Quadrata TT", - ["osCooldownDirection"] = "right", - ["npTextSide"] = "right", - ["barCCUFont"] = false, - ["barH"] = 14, - ["barThickFont"] = false, - ["npTexture"] = "Blizzard", - ["barIconMerged"] = "left", - ["barCooldownDirection"] = "right", - ["npIcon"] = "right", - ["barShowSpellName"] = false, - ["barGap"] = 1, - ["npCCBar"] = false, - ["npH"] = 15, - ["merged"] = false, - ["npUseIcon"] = true, - ["barColorA"] = { - ["a"] = 1, - ["r"] = 0.94, - ["g"] = 0.94, - ["b"] = 0.94, - }, - ["barBGCCC"] = true, - ["barCCAFont"] = false, - ["growUp"] = false, - ["osEnabled"] = false, - ["barFont"] = "Friz Quadrata TT", - ["npW"] = 120, - ["npTexColor"] = { - ["a"] = 0.5, - ["r"] = 0, - ["g"] = 0, - ["b"] = 0, - }, - ["barTexture"] = "Blizzard", - ["barOutlineFont"] = true, - }, - }, - ["includeAll"] = true, - ["filterdead"] = true, - ["name"] = "Default", - ["filterconnection"] = true, - ["filterplayertype"] = "disabled", - ["playerfilters"] = { - }, - ["filter25man"] = true, - ["abilities"] = { - { - ["id"] = 61999, - ["enabled"] = false, - }, -- [1] - { - ["id"] = 46584, - ["enabled"] = false, - }, -- [2] - { - ["id"] = 20484, - ["enabled"] = false, - }, -- [3] - { - ["id"] = 740, - ["enabled"] = false, - }, -- [4] - { - ["id"] = 115310, - ["enabled"] = false, - }, -- [5] - { - ["id"] = 31821, - ["enabled"] = false, - }, -- [6] - { - ["id"] = 64843, - ["enabled"] = false, - }, -- [7] - { - ["id"] = 64901, - ["enabled"] = false, - }, -- [8] - { - ["id"] = 62618, - ["enabled"] = false, - }, -- [9] - { - ["id"] = 113277, - ["enabled"] = false, - }, -- [10] - { - ["id"] = 16190, - ["enabled"] = false, - }, -- [11] - { - ["id"] = 108280, - ["enabled"] = false, - }, -- [12] - { - ["id"] = 98008, - ["enabled"] = false, - }, -- [13] - { - ["id"] = 20707, - ["enabled"] = false, - }, -- [14] - { - ["id"] = 97462, - ["enabled"] = false, - }, -- [15] - { - ["id"] = 115176, - ["enabled"] = false, - }, -- [16] - { - ["id"] = 116849, - ["enabled"] = false, - }, -- [17] - }, - }, -- [1] - }, - }, - }, - ["enableparty"] = true, - } -end - - if profile == "Repooc" then - -- No Settings - end - - if profile == "Darth" then - -- No Settings - end - - return database -end - --- register the profile with the engine -AI:RegisterAddonProfile(name, ace3, dbname, OnDemand) \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/Skada.lua b/ElvUI_SLE/core/installer/Skada.lua deleted file mode 100644 index e94a1b7..0000000 --- a/ElvUI_SLE/core/installer/Skada.lua +++ /dev/null @@ -1,160 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local AI = E:GetModule('SLE_AddonInstaller') - -local ace3 = true -- whether or not this database is a Ace3 profile -local name = 'Skada' -- the name of the addon -local dbname = 'SkadaDB' -- name of the addon database - -local function OnDemand(profile) -- function that creates the "load on demand" database - local database - if profile == "Affinitii" then - database = { - ["windows"] = { - { - ["barheight"] = 17, - ["barslocked"] = true, - ["background"] = { - ["height"] = 133.6666717529297, - ["color"] = { - ["a"] = 0.2000000476837158, - ["b"] = 0, - }, - }, - ["hidden"] = true, - ["y"] = 39.89817468303028, - ["x"] = -7.334928625263729, - ["title"] = { - ["color"] = { - ["a"] = 1, - ["b"] = 0, - ["g"] = 0, - ["r"] = 0, - }, - ["font"] = "PT Sans Narrow", - ["fontsize"] = 15, - }, - ["point"] = "BOTTOMRIGHT", - ["barbgcolor"] = { - ["a"] = 1, - ["b"] = 0.3019607843137255, - ["g"] = 0.3019607843137255, - ["r"] = 0.3019607843137255, - }, - ["barcolor"] = { - ["g"] = 0.3019607843137255, - ["r"] = 0.3019607843137255, - }, - ["name"] = "HPS", - ["spark"] = false, - ["bartexture"] = "Polished Wood", - ["barwidth"] = 199.0832316080729, - ["barfontsize"] = 12, - ["mode"] = "Damage", - ["barfont"] = "PT Sans Narrow", - }, -- [1] - { - ["barheight"] = 17, - ["classicons"] = true, - ["barslocked"] = true, - ["clickthrough"] = false, - ["wipemode"] = "", - ["set"] = "current", - ["hidden"] = true, - ["y"] = 39.89824908834681, - ["barfont"] = "PT Sans Narrow", - ["name"] = "DPS", - ["display"] = "bar", - ["barfontflags"] = "", - ["classcolortext"] = false, - ["scale"] = 1, - ["reversegrowth"] = false, - ["barfontsize"] = 12, - ["barorientation"] = 1, - ["snapto"] = true, - ["point"] = "BOTTOMRIGHT", - ["x"] = -214.2783479639852, - ["spark"] = false, - ["bartexture"] = "Polished Wood", - ["barwidth"] = 199.0832316080729, - ["barspacing"] = 0, - ["barbgcolor"] = { - ["a"] = 1, - ["b"] = 0.3019607843137255, - ["g"] = 0.3019607843137255, - ["r"] = 0.3019607843137255, - }, - ["returnaftercombat"] = false, - ["barcolor"] = { - ["a"] = 1, - ["b"] = 0.8, - ["g"] = 0.3019607843137255, - ["r"] = 0.3019607843137255, - }, - ["mode"] = "Healing", - ["enabletitle"] = true, - ["classcolorbars"] = true, - ["modeincombat"] = "", - ["title"] = { - ["borderthickness"] = 2, - ["font"] = "PT Sans Narrow", - ["fontsize"] = 15, - ["fontflags"] = "", - ["color"] = { - ["a"] = 1, - ["b"] = 0, - ["g"] = 0, - ["r"] = 0, - }, - ["bordertexture"] = "None", - ["margin"] = 0, - ["texture"] = "Aluminium", - }, - ["buttons"] = { - ["segment"] = true, - ["menu"] = true, - ["mode"] = true, - ["report"] = true, - ["reset"] = true, - }, - ["background"] = { - ["borderthickness"] = 0, - ["height"] = 133.6666717529297, - ["color"] = { - ["a"] = 0.2000000476837158, - ["b"] = 0, - ["g"] = 0, - ["r"] = 0, - }, - ["bordertexture"] = "None", - ["margin"] = 0, - ["texture"] = "Solid", - }, - }, -- [2] - }, - ["report"] = { - ["number"] = 12, - ["chantype"] = "whisper", - ["channel"] = "whisper", - ["target"] = "Affinitii", - ["mode"] = "Riggimon's Death", - }, - ["icon"] = { - ["minimapPos"] = 160.4361246854299, - ["hide"] = true, - }, - } - end - - if profile == "Repooc" then - -- No Settings - end - - if profile == "Darth" then - - end - - return database -end - --- register the profile with the engine -AI:RegisterAddonProfile(name, ace3, dbname, OnDemand) \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/installer.lua b/ElvUI_SLE/core/installer/installer.lua deleted file mode 100644 index c8b7fbf..0000000 --- a/ElvUI_SLE/core/installer/installer.lua +++ /dev/null @@ -1,153 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI); -local AI = E:GetModule('SLE_AddonInstaller') - --- Upvalue for performance -local pairs, string, table, unpack, _G = pairs, string, table, unpack, _G -local string_find, string_format, string_gsub, string_sub, table_insert, table_remove - = string.find, string.format, string.gsub, string.sub, table.insert, table.remove - --- A local database of addons -AI.addons = { } -AI.MyProfileKey = string_format('%s - %s', UnitName('player'), GetRealmName() ) -AI.MyProfileName = "Shadow and Light" - --- Let's put all the RegEx stuff here -local regex_trim = '^%s*(.-)%s*$' -local regex_match = '([ A-Za-z0-9_+*\\-]+)%s?,' - ---[==[ - AddonInstaller:RegisterAddonProfile(name, ace3, dbname, onDemand) - - input: (*optional) - - name [string] - The name name of the addon to use in the Command Args when enabling. - - ace3 [boolean] - Indicator whether to treat this entry as an Ace3 compatible profile, - or just some random entries into an addon's database. - - dbname [string] - The name of the addon's database (e.g. 'ElvCharacterDB') - - onDemand [function] - The function that will generate the "load on demand" profile. - - description: - This function allows addon modules to register themselves so that they can get - loaded when the user installs this UI. - - returns: - nil -]==] -function AI:RegisterAddonProfile(name, ace3, dbname, onDemand) - if not self.addons[name] then self.addons[name] = { } end - table_insert(self.addons[name], { OnDemand = onDemand, dbname = dbname, ace3 = ace3 }) -end - --- A private function that loads a specific addon database entry -local function LoadAddon(entry, profileName) - local ADDON_DB = _G[entry.dbname] - local myDB = entry.OnDemand(profileName) - - if ADDON_DB and myDB then - if entry.ace3 then - -- Profile will be: "Shadow and Light (Affinitii)" - local profile = string_format('%s (%s)', AI.MyProfileName, profileName) - - -- If the addon is loaded AND the profile is Ace3, lets load it - ADDON_DB.profiles[profile] = myDB -- Insert our new profile - - -- Set the profile as the default for this toon - ADDON_DB.profileKeys[AI.MyProfileKey] = profile - else - for key, value in pairs(myDB) do - ADDON_DB[key] = value - end - end - end -end - ---[==[ - AddonInstaller:LoadAddons(args) - - input: (*optional) - args [string] - This is a comma separated list, where the first value is the profile that you - want to load. The second arg can be "All" for all addons or the second and - following args can list the addons one at a time. - - examples: - - 1. args = "Repooc, All" - - Loads all addons with the profile name "Repooc" - - 2. args = "Darth, Hermes, xCT+," - - Loads Hermes and xCT+ addons with the profile name "Darth" - - description: - This function was create to allow the loading of external addons profiles when a - UI is installed. - - returns: - nil -]==] - -function AI:LoadAddons(args) - -- This section of code parses the args - local ListArgs = { } - - -- Trim the text (remove spaces), placed a nil check inside - args = string_gsub(args or '', regex_trim, '%1') - - -- Add a comma onto the end - if string_sub(args, #args) ~= ',' then - args = args .. ',' - end - - local i, j = 0, 0 - while i do - i, j = string_find(args, regex_match, j) -- find all patterns that match 'Arg_1 Test+,' - if i then - -- Get the current pattern [ sub(index, length-1 ], trim all the spaces, and add it to the list of args - local arg = string_gsub(string_sub(args, i, j-1), regex_trim, '%1') - table_insert(ListArgs, arg) - end - end - -- Args parsing completed! - - --[==[ - -- DEBUG: See what args I have :) - for i, v in pairs(ListArgs) do - print(i,'=',v) - end - ]==] - - -- Get the profile name and see if we are loading All addons - local profileName, LOAD_ALL = ( ListArgs[1] or 'default' ), ( ListArgs[2] == 'All' ) - table_remove(ListArgs, 1) -- Remove the profile name, all we have left in the list are addons to load :) - - if LOAD_ALL then -- Load all the addons - for name, entryList in pairs(self.addons) do -- Just load all the addons for this profile - for _, entry in pairs(entryList) do -- Loop through all the entries (could be multiple, like bigwigs) - LoadAddon(entry, profileName) - end - end - else -- Load a specific set of addons - for _, name in pairs(ListArgs) do -- we need to figure out which addons to load - local entryList = self.addons[name] - for _, entry in pairs(entryList) do - -- Check for addon name - if entry then - for _, entry in pairs(entryList) do -- Loop through all the entries - LoadAddon(entry, profileName) - end - else - E:Print(" |cffFF0000ERROR:|r No Addon named '"..name.."' was found in the SLE addon configs.") - end - end - end - end -end \ No newline at end of file diff --git a/ElvUI_SLE/core/installer/load_install.xml b/ElvUI_SLE/core/installer/load_install.xml deleted file mode 100644 index 9c61b11..0000000 --- a/ElvUI_SLE/core/installer/load_install.xml +++ /dev/null @@ -1,11 +0,0 @@ - -