Updated to 7.3.5
This commit is contained in:
@@ -128,7 +128,7 @@ local options = {
|
|||||||
name = "Test Sound",
|
name = "Test Sound",
|
||||||
desc = "Click this to test the selected sound",
|
desc = "Click this to test the selected sound",
|
||||||
type = "execute",
|
type = "execute",
|
||||||
func = function() PlaySoundKitID(LevelUpAnnouncer.db.profile.soundID) end
|
func = function() PlaySound(LevelUpAnnouncer.db.profile.soundID) end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -194,7 +194,7 @@ function LevelUpAnnouncer:PLAYER_LEVEL_UP()
|
|||||||
self.tmpPercIndex = 0
|
self.tmpPercIndex = 0
|
||||||
self.curLevel = self.curLevel + 1
|
self.curLevel = self.curLevel + 1
|
||||||
if self.db.profile.playSound then
|
if self.db.profile.playSound then
|
||||||
PlaySoundKitID(self.db.profile.soundID)
|
PlaySound(self.db.profile.soundID)
|
||||||
end
|
end
|
||||||
if self.db.profile.chatAnnounce then
|
if self.db.profile.chatAnnounce then
|
||||||
sendToChat(replaceFormats(self.db.profile.dingFormat, 0, self.curLevel))
|
sendToChat(replaceFormats(self.db.profile.dingFormat, 0, self.curLevel))
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
## Interface: 70200
|
## Interface: 70300
|
||||||
## Title: Level Up |cff2D8D0BAnnouncer|r
|
## Title: Level Up |cff2D8D0BAnnouncer|r
|
||||||
## Version: 2.0.2
|
## Version: 2.0.3
|
||||||
## Author: oskar3123
|
## Author: oskar3123
|
||||||
## Notes: A simple addon to play a sound and/or yell in chat when you level up
|
## Notes: A simple addon to play a sound and/or yell in chat when you level up
|
||||||
## Dependencies:
|
## Dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user