Skip to content

Commit

Permalink
Added sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketho committed Aug 18, 2021
1 parent b28536b commit 9ea32b1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release AddOn

on:
push:
tags:
- '**'

env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: BigWigsMods/packager@master
2 changes: 1 addition & 1 deletion LossControlTip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ local tt = CreateFrame("GameTooltip", "LossControlTip", LossOfControlFrame, "Gam
tt:SetScale(.9)

LossOfControlFrame:HookScript("OnEvent", function(self, event)
if event == "LOSS_OF_CONTROL_ADDED" then
if event == "LOSS_OF_CONTROL_ADDED" and self.spellID then
tt:SetOwner(self, "ANCHOR_TOP")
tt:SetSpellByID(self.spellID)
end
Expand Down
4 changes: 3 additions & 1 deletion LossControlTip.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Interface: 70200
## Interface: 90100
## Version: @project-version@
## Title: LossControlTip
## Notes: Shows the Loss of Control spell tooltip
## Author: Ketho @ EU-Boulderfist
## X-Curse-Project-ID: 265544
## X-WoWI-ID: 24391

LossControlTip.lua

0 comments on commit 9ea32b1

Please sign in to comment.