Skip to content

Commit

Permalink
Add source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketho committed Aug 12, 2024
1 parent 933c8b7 commit 8ff21cb
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release AddOn

on:
push:
tags:
- '**'

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

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: BigWigsMods/packager@v2
with:
args: -S
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Ketho's WoW addons
Copyright (c) 2024 Ketho

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
26 changes: 26 additions & 0 deletions MuteHicks.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
MuteSoundFile(1901266) -- sound/creature/kul_tiran_military/vo_801_kul_tiran_military_53_m.ogg
MuteSoundFile(1901276) -- sound/creature/kul_tiran_military/vo_801_kul_tiran_military_58_m.ogg

local locales = {
enUS = "Captain Hicks",
koKR = "대장 힉스",
frFR = "Capitaine Hicks",
deDE = "Kapitän Hinz",
zhCN = "希克斯船长",
zhTW = "希克斯船長",
esES = "Capitán Hicks",
esMX = "Capitán Hicks",
ruRU = "Капитан Хикс",
ptBR = "Capitão Hicks",
itIT = "Capitano Hicks",
}

local hicks = locales[GetLocale()]

local function filter(self, event, msg, sender)
if sender == hicks then
return true
end
end

ChatFrame_AddMessageEventFilter("CHAT_MSG_MONSTER_YELL", filter)
9 changes: 9 additions & 0 deletions MuteHicks.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Interface: 110002
## Version: 1.0
## Title: MuteHicks
## Notes: Anchors aweigh!
## Author: Ixima @ Argent Dawn
## X-Curse-Project-ID: 1082285
## X-Wago-ID: b6XVqwGp

MuteHicks.lua

0 comments on commit 8ff21cb

Please sign in to comment.