View Single Post
06-22-16, 05:33 AM   #6
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by syncrow View Post
Isn't it easier to show/hide class power bar based on class/spec behaviors, triggered by:
  • PLAYER_ENTERING_WORLD
  • PLAYER_TALENT_UPDATE
  • UNIT_EXITED_VEHICLE
  • UNIT_ENTERED_VEHICLE

rather than checking the UnitPowerType?
Irrelevant to this issue, this is about UnitPower not respecting vehicles, has nothing to do with class/spec powers.