Giter Site home page Giter Site logo

ouf_dispellable's Introduction

oUF_Dispellable

This is an element for the unitframe framework oUF (Curse / WoWI).
It does nothing by itself and requires layout support to do its magic.

Description

oUF_Dispellable provides functionality to highlight debuffs dispellable by the player. It can display either a texture colored by the debuff type, or an icon representing the found dispellable debuff, or both.

It enables and disables itself automatically based on whether the player can dispel or not and keeps an always updated list of the dispel spells available to the player. It also keeps track of self-dispels like Grimoire: Imp and Cleansed by Flame to only highlight the player frame when only those are known.

How to use (for layout authors)

The element is fully documented and follows the current oUF guidelines for documentation. Please take a look at the code for details and examples. You could also consult the wiki.

Please consider making oUF_Dispellable optional for your users. The easiest way is to distribute it with your layout as a separate addon and use something like if not IsAddOnLoaded('oUF_Dispellable') then return end before calling its functionality. Users can then opt-out of using it by just uninstalling it without having to edit your code. This way they can also update oUF_Dispellable themselves, without you having to release a new version of your layout just to pick some minor changes.

If you are a layout user and oUF_Dispellable didn't come together with your layout despite the layout supporting it, just install it as a normal addon.

Issues

If you have any problems using oUF_Dispellable, please open an issue at GitHub. Remember to first search if there is an existing issue concerning your problem.

License

Please read the included LICENSE.

ouf_dispellable's People

Contributors

rainrider avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ouf_dispellable's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.