Get an Epic Experience with Premium

CancelBuff

Miscellaneous Login to Add Favorites
  • 0 Likes
  • Runes of Magic
  • 5 Monthly Downloads
  • Supports: 3.0.2
  • 1,693 Total Downloads
  • Updated 07/25/2010
  • Created 07/25/2010
  • 5 Favorites
  • Project Site
  • Comments
  • Release Type: Mature
  • License: Public Domain
  • Newest File: CancelBuff v0.1 beta
or

About CancelBuff

Adds the slash command /cancelbuff (/uncast and /unbuff also) so you can easily cancel a buff by its name with macros. Here's an example macro of something a priest/mage might want to use to give "super wings":
/cast Holy Candle
/wait 1
/cast Angel's Blessing
/wait 1
/uncast Holy Candle
Note: the names of buffs are case insensitive, so don't worry about capitalizing letters if you don't want to.

First release

Comments

  • #4
    Hi vEEcEE

    Could you please explain what is supposed to be the result of the example you posted.

    /cast Holy Candle
    /wait 1
    /cast Angel's Blessing
    /wait 1
    /uncast Holy Candle

    I copied it and pasted it into a macro but do not see anything happening.

    Thank You.
  • #5
    Unless you're a priest with mage secondary it won't work, so that might be why. Holy Candle + Angel's Blessing = more MP recovery for the whole party...so the macro just casts Holy Candle, then Angel's Blessing, and finally it cancels Holy Candle so you don't keep taking damage. If you're not familiar with the spells, look them up on romdata.getbuffed.com
  • #2
    Thanks a lot :D
    this would be great for my druid rogue.
    /uncast Shadow Contract
    /wait 0
    /cast Restore Life
    /wait 1
    /cast Shadow Contract
  • #1
    Hi :)
    Does it work if you have two identical buffs (i.e. Regeneration) one following the other?
    I don't know what happens with the buffs list when you cancel one, but if it's removed from the list before the CancelPlayerBuff returns, then you will skipe the second.

    Changing:
    if UnitBuff("player", i):lower() == buffToCancel:lower() then
    CancelPlayerBuff(i)
    end
    i = i + 1
    for:
    if UnitBuff("player", i):lower() == buffToCancel:lower() then
    CancelPlayerBuff(i)
    else
    i = i + 1
    end
    should solve it.
  • #3
    I'm not sure I understand what you're saying, but this addon will cancel all buffs with the same name. Also, canceling Regeneration seems like a very strange thing to do, but if you want to only cancel the first Regeneration, that can be done (just need to add a return statement after CancelPlayerBuff). I'll make the change to the addon if enough people want that.
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Curse $5,000 Dreamhack CS:GO Skin Giveaway

Enter Now!