From dc96436cd1fc8b77499b2a205a84348a239ac97f Mon Sep 17 00:00:00 2001 From: Terijaki <590522+terijaki@users.noreply.github.com> Date: Fri, 6 Jan 2023 09:38:31 +0100 Subject: [PATCH] debuff --- .github/FUNDING.yml | 12 ------- .github/ISSUE_TEMPLATE/bug_report_retail.md | 27 --------------- .../ISSUE_TEMPLATE/bug_report_wow_wotlkc.md | 27 --------------- .github/ISSUE_TEMPLATE/bug_report_wowbcc.md | 27 --------------- .../ISSUE_TEMPLATE/bug_report_wowclassic.md | 27 --------------- .github/ISSUE_TEMPLATE/config.yml | 8 ----- .github/README.md | 5 --- .github/workflows/build.yml | 33 ------------------- .github/workflows/pull_request.yml | 17 ---------- .gitignore | 2 ++ .luacheckrc | 8 ----- .pkgmeta | 2 -- BasicBuffHide.lua | 16 --------- BasicBuffHide.toc | 13 -------- BasicBuffHide_TBC.toc | 13 -------- BasicBuffHide_Vanilla.toc | 13 -------- BasicBuffHide_Wrath.toc | 13 -------- BasicDebuffHide.lua | 10 ++++++ BasicDebuffHide.toc | 9 +++++ BasicDebuffHide_TBC.toc | 9 +++++ BasicDebuffHide_Vanilla.toc | 9 +++++ BasicDebuffHide_Wrath.toc | 9 +++++ 22 files changed, 48 insertions(+), 261 deletions(-) delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug_report_retail.md delete mode 100644 .github/ISSUE_TEMPLATE/bug_report_wow_wotlkc.md delete mode 100644 .github/ISSUE_TEMPLATE/bug_report_wowbcc.md delete mode 100644 .github/ISSUE_TEMPLATE/bug_report_wowclassic.md delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/README.md delete mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/pull_request.yml create mode 100644 .gitignore delete mode 100644 .luacheckrc delete mode 100644 .pkgmeta delete mode 100644 BasicBuffHide.lua delete mode 100644 BasicBuffHide.toc delete mode 100644 BasicBuffHide_TBC.toc delete mode 100644 BasicBuffHide_Vanilla.toc delete mode 100644 BasicBuffHide_Wrath.toc create mode 100644 BasicDebuffHide.lua create mode 100644 BasicDebuffHide.toc create mode 100644 BasicDebuffHide_TBC.toc create mode 100644 BasicDebuffHide_Vanilla.toc create mode 100644 BasicDebuffHide_Wrath.toc diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 2ab4716..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: funkydude # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/bug_report_retail.md b/.github/ISSUE_TEMPLATE/bug_report_retail.md deleted file mode 100644 index ee4a170..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report_retail.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Issue for Retail/Live -about: Create a report about current WoW. -title: '' -labels: retail -assignees: '' ---- - -## Describe the problem - - -### What steps will reproduce the problem? - -1. -2. -3. - -### Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites) - - -### What version of the addon are you using? (Stating 'latest' is not useful) - - -### Do you have an error log of what happened? - - -### Any additional information? (example: WoW language if not English) diff --git a/.github/ISSUE_TEMPLATE/bug_report_wow_wotlkc.md b/.github/ISSUE_TEMPLATE/bug_report_wow_wotlkc.md deleted file mode 100644 index ed6d4b4..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report_wow_wotlkc.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Issue for Wrath of the Lich King Classic -about: Create a report about Wrath of the Lich King Classic WoW. -title: '' -labels: wotlkc -assignees: '' ---- - -## Describe the problem - - -### What steps will reproduce the problem? - -1. -2. -3. - -### Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites) - - -### What version of the addon are you using? (Stating 'latest' is not useful) - - -### Do you have an error log of what happened? - - -### Any additional information? (example: WoW language if not English) diff --git a/.github/ISSUE_TEMPLATE/bug_report_wowbcc.md b/.github/ISSUE_TEMPLATE/bug_report_wowbcc.md deleted file mode 100644 index dfe570f..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report_wowbcc.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Issue for Burning Crusade Classic -about: Create a report about Burning Crusade Classic WoW. -title: '' -labels: bcc -assignees: '' ---- - -## Describe the problem - - -### What steps will reproduce the problem? - -1. -2. -3. - -### Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites) - - -### What version of the addon are you using? (Stating 'latest' is not useful) - - -### Do you have an error log of what happened? - - -### Any additional information? (example: WoW language if not English) diff --git a/.github/ISSUE_TEMPLATE/bug_report_wowclassic.md b/.github/ISSUE_TEMPLATE/bug_report_wowclassic.md deleted file mode 100644 index eeae76c..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report_wowclassic.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Issue for Classic -about: Create a report about Classic WoW. -title: '' -labels: classic -assignees: '' ---- - -## Describe the problem - - -### What steps will reproduce the problem? - -1. -2. -3. - -### Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites) - - -### What version of the addon are you using? (Stating 'latest' is not useful) - - -### Do you have an error log of what happened? - - -### Any additional information? (example: WoW language if not English) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 4dc7ecf..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: One time donation? - url: https://github.com/sponsors/funkydude?frequency=one-time - about: Like this addon and want to help the author? Please send a one time donation. - - name: Monthly donation? - url: https://github.com/sponsors/funkydude?frequency=recurring - about: Like this addon and want to help the author? Please sponsor them with a monthly donation. diff --git a/.github/README.md b/.github/README.md deleted file mode 100644 index 16e8087..0000000 --- a/.github/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# BasicBuffHide -Hides the Blizzard Buff frame, does nothing else. - -## Download -https://www.curseforge.com/wow/addons/basic-buff-hide \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index cb9e4d3..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Package addon - -on: - push: - branches: - - master - tags: - - '*' - paths-ignore: - - '.github/**' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout addon - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Run luacheck - uses: BigWigsMods/actions/luacheck@master - with: - args: -q - - - name: Package - uses: BigWigsMods/packager@master - env: - CF_API_KEY: ${{ secrets.CF_API_KEY }} - WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} - WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} - GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml deleted file mode 100644 index 42cdc05..0000000 --- a/.github/workflows/pull_request.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Check PR - -on: [pull_request] - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - name: Checkout addon - uses: actions/checkout@v3 - - - name: Run luacheck - uses: BigWigsMods/actions/luacheck@master - with: - args: -q - diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4fd1c29 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.github +.DS_Store* \ No newline at end of file diff --git a/.luacheckrc b/.luacheckrc deleted file mode 100644 index 77a2db6..0000000 --- a/.luacheckrc +++ /dev/null @@ -1,8 +0,0 @@ -std = "lua51" -max_line_length = false -codes = true -globals = { - "CreateFrame", - "BuffFrame", - "TemporaryEnchantFrame", -} diff --git a/.pkgmeta b/.pkgmeta deleted file mode 100644 index 47f68c1..0000000 --- a/.pkgmeta +++ /dev/null @@ -1,2 +0,0 @@ -package-as: BasicBuffHide -wowi-archive-previous: no diff --git a/BasicBuffHide.lua b/BasicBuffHide.lua deleted file mode 100644 index c00ffa7..0000000 --- a/BasicBuffHide.lua +++ /dev/null @@ -1,16 +0,0 @@ --------------------------------------------------- -------------------BASIC BUFF HIDE----------------- --------------------------------------------------- - -local f = CreateFrame("Frame") -f:Hide() - -f.UnregisterAllEvents(BuffFrame) -f.Hide(BuffFrame) -f.SetParent(BuffFrame, f) - -if TemporaryEnchantFrame then -- XXX Dragonflight compat - f.UnregisterAllEvents(TemporaryEnchantFrame) - f.Hide(TemporaryEnchantFrame) - f.SetParent(TemporaryEnchantFrame, f) -end diff --git a/BasicBuffHide.toc b/BasicBuffHide.toc deleted file mode 100644 index 369e89e..0000000 --- a/BasicBuffHide.toc +++ /dev/null @@ -1,13 +0,0 @@ -## Interface: 100002 -## Title: BasicBuffHide -## Notes: Hide the Blizzard Buff frame -## Author: Funkydude -## Version: @project-version@ -## X-Category: Buffs -## X-License: All Rights Reserved: You are free to fork and modify on GitHub, please ask us about anything else. -## X-Curse-Project-ID: 13502 -## X-WoWI-ID: 21687 -## X-Wago-ID: JZKbL4N1 - -BasicBuffHide.lua - diff --git a/BasicBuffHide_TBC.toc b/BasicBuffHide_TBC.toc deleted file mode 100644 index b51f78d..0000000 --- a/BasicBuffHide_TBC.toc +++ /dev/null @@ -1,13 +0,0 @@ -## Interface: 20504 -## Title: BasicBuffHide -## Notes: Hide the Blizzard Buff frame -## Author: Funkydude -## Version: @project-version@ -## X-Category: Buffs -## X-License: All Rights Reserved: You are free to fork and modify on GitHub, please ask us about anything else. -## X-Curse-Project-ID: 13502 -## X-WoWI-ID: 21687 -## X-Wago-ID: JZKbL4N1 - -BasicBuffHide.lua - diff --git a/BasicBuffHide_Vanilla.toc b/BasicBuffHide_Vanilla.toc deleted file mode 100644 index ca34db4..0000000 --- a/BasicBuffHide_Vanilla.toc +++ /dev/null @@ -1,13 +0,0 @@ -## Interface: 11403 -## Title: BasicBuffHide -## Notes: Hide the Blizzard Buff frame -## Author: Funkydude -## Version: @project-version@ -## X-Category: Buffs -## X-License: All Rights Reserved: You are free to fork and modify on GitHub, please ask us about anything else. -## X-Curse-Project-ID: 13502 -## X-WoWI-ID: 21687 -## X-Wago-ID: JZKbL4N1 - -BasicBuffHide.lua - diff --git a/BasicBuffHide_Wrath.toc b/BasicBuffHide_Wrath.toc deleted file mode 100644 index 66d35b9..0000000 --- a/BasicBuffHide_Wrath.toc +++ /dev/null @@ -1,13 +0,0 @@ -## Interface: 30400 -## Title: BasicBuffHide -## Notes: Hide the Blizzard Buff frame -## Author: Funkydude -## Version: @project-version@ -## X-Category: Buffs -## X-License: All Rights Reserved: You are free to fork and modify on GitHub, please ask us about anything else. -## X-Curse-Project-ID: 13502 -## X-WoWI-ID: 21687 -## X-Wago-ID: JZKbL4N1 - -BasicBuffHide.lua - diff --git a/BasicDebuffHide.lua b/BasicDebuffHide.lua new file mode 100644 index 0000000..fc97906 --- /dev/null +++ b/BasicDebuffHide.lua @@ -0,0 +1,10 @@ +-------------------------------------------------- +------------------BASIC DEBUFF HIDE----------------- +-------------------------------------------------- + +local f = CreateFrame("Frame") +f:Hide() + +f.UnregisterAllEvents(DebuffFrame) +f.Hide(DebuffFrame) +f.SetParent(DebuffFrame, f) diff --git a/BasicDebuffHide.toc b/BasicDebuffHide.toc new file mode 100644 index 0000000..b05d205 --- /dev/null +++ b/BasicDebuffHide.toc @@ -0,0 +1,9 @@ +## Interface: 100002 +## Title: BasicDebuffHide +## Notes: Hide the Blizzard Debuff frame +## Author: Funkydude +## Version: @project-version@ +## X-Category: Buffs + +BasicDebuffHide.lua + diff --git a/BasicDebuffHide_TBC.toc b/BasicDebuffHide_TBC.toc new file mode 100644 index 0000000..e5966c9 --- /dev/null +++ b/BasicDebuffHide_TBC.toc @@ -0,0 +1,9 @@ +## Interface: 20504 +## Title: BasicDebuffHide +## Notes: Hide the Blizzard Debuff frame +## Author: Funkydude +## Version: @project-version@ +## X-Category: Buffs + +BasicDebuffHide.lua + diff --git a/BasicDebuffHide_Vanilla.toc b/BasicDebuffHide_Vanilla.toc new file mode 100644 index 0000000..eb29a6d --- /dev/null +++ b/BasicDebuffHide_Vanilla.toc @@ -0,0 +1,9 @@ +## Interface: 11403 +## Title: BasicDebuffHide +## Notes: Hide the Blizzard Debuff frame +## Author: Funkydude +## Version: @project-version@ +## X-Category: Buffs + +BasicDebuffHide.lua + diff --git a/BasicDebuffHide_Wrath.toc b/BasicDebuffHide_Wrath.toc new file mode 100644 index 0000000..cf51c3e --- /dev/null +++ b/BasicDebuffHide_Wrath.toc @@ -0,0 +1,9 @@ +## Interface: 30400 +## Title: BasicDebuffHide +## Notes: Hide the Blizzard Debuff frame +## Author: Funkydude +## Version: @project-version@ +## X-Category: Buffs + +BasicDebuffHide.lua +