Sidoine / Ovale

An add-on for World of Warcraft that displays icons based on scripts
MIT License
46 stars 46 forks source link

feat: add method to query the current covenant #1012

Closed johnnylam88 closed 3 years ago

johnnylam88 commented 3 years ago

Add a new getCovenant() method to return the name of the current covenant, and a new isCovenant() method to check if the given covenant matches the current one.

Fire a new Ovale event Ovale_CovenantChosen after the module has reacted to COVENANT_CHOSEN and can return the correct information.