Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to CancelAura within C# FightClass

Featured Replies

I'm interested in learning how one would go about cancelling a buff/aura within a c# fightclass, specifically within the LUA frame of vanilla wow. 

Obviously to check and buff the character something simple like this would do:

public Spell arcaneInt = new Spell("Arcane Intellect");

public void buffPlayer(){
	if(arcaneInt.KnownSpell && !ObjectManager.Me.HaveBuff("Arcane Intellect")){
		arcaneInt.Launch();
	}
}

but since I can't find docs for the wRobot API anywhere I'm unsure if there's a method to remove a buff or if I would need to write one myself.

  • Author
20 hours ago, Droidz said:

Hello, try lua code like:


local name = GetSpellInfo(12345);
RunMacroText("/cancelaura " .. name) 

(replace 12345 by your spell id)

It seems vanilla doesn't have "/cancelaura" as a Lua function. I found an addon that added extra macro functionality and I was able to use your snippet. Thanks. 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.