View Single Post
02-13-13, 07:50 AM   #7
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
I just noticed that this thread does not have the correct solution posted yet.

The following encounters use a special form of possessbar:
  • Blackwing Descent, Nefarian encounter
  • Feast Fest
  • Heart of Fear, Un'Sok encounter

By default those spells for a possessed player will be displayed in the MainMenuActionBar.

But...sometimes Blizzard thinks it's funnier to plump you in a Vehicle without telling anyone. Not even the own API. Thus neither [overridebar] nor [vehicleui] wil fire. (Which is a bug imo).

The solution is to use a third condition checking for possessbar state while in a vehicle.

Lua Code:
  1. [possessbar,@vehicle,exists]

Implementation:
http://code.google.com/p/rothui/sour...ar.lua&old=945
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 02-13-13 at 07:53 AM.