Quantcast WoWInterface - View Single Post - pally power
Thread: pally power
View Single Post
04-22-12, 11:56 PM   #2
Premium Member
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,089
Kodewulf has created a settings window plugin and I create a dropdown menu plugin for bar adons like titan panel and fubar and the like.

Scott is designing version 6 with a visual set up rather than a slash command setup so that should make things easier once its complete.

As to removing the pally power bar, the only way would be a code adjustment to nUI_PowerBars.lua in the nUI/Bars folder. The segment in question is:

Lua Code:
  1. local function PTM_Events(self,event,...)
  2. --[[ Do this to turn off this code
  3.     local arg1,arg2,arg3,arg4,arg5,arg6 = ...;
  4.     if ( event == "ADDON_LOADED" and arg1 == addonName ) then
  5.         self.unit = PlayerFrame.unit;      
  6.     elseif ( event == "PLAYER_ENTERING_WORLD" ) then       
  7.         local _, class = UnitClass("player");
  8.         self.unit = PlayerFrame.unit;      
  9.         if class == "PALADIN" then PTM_PPBInit(); end
  10.         if class == "WARLOCK" then PTM_WSSInit(); end
  11.         if class == "SHAMAN" then PTM_STBInit(); end
  12.         if class == "DRUID" then PTM_DEBInit(); end
  13.         self:UnregisterEvent(event);
  14.     elseif ( event == "PLAYER_TARGET_CHANGED" ) then
  15.         self.unit = PlayerFrame.unit;
  16.     end
  17. --]]
  18. end

Notice the --[[ and ]]-- marks. These comment out the code between them and tells wow to ignore it entirely and will thus stop the display of the bars.

Unless there is another slash command I haven't noticed to turn that functionality off that would be the only way.