LibDispellable-1.0

  • 2 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Main Adirelle Adirelle Jul 19, 2016
LibDispellable-1.0 aims at helping to test if the player can really dispel an enemy buff or a friend debuff. The current Blizzard implementation for a curable buff filter ("HARMFUL RAID") does not take talents into account. There is no way to test for buffs that players can dispel on their enemies. LibDispellable-1.0 provides methods to test both defensive and offensive dispels. See the API page on wowace.com for usage.
API Adirelle Adirelle Jul 19, 2016
LibDispellable:CanDispel(unit, isBuff, dispelType, spellID) Test if the player can dispel the given aura on the given unit. Parameters unit (string) The unit id. isBuff (boolean) True if the spell is a buff. dispelType (string) The dispel mechanism, as returned by UnitAura. spellID (number) The aura spell ID, as returned by UnitAura, used to test enrage effects. Return values boolean true if the player knows a spell to dispel the aura. number The spell ID of the spell to dispel, or nil....
  • 2 pages found