Thread Tools Display Modes
06-09-10, 07:13 PM   #1
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 614
Attack power

Looking for the scripts for KGPanels to show Attack Power and Crit chance, if thats possible, thanks in advance =)
  Reply With Quote
06-09-10, 11:58 PM   #2
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
uhh. kgpanels are for creating PANELS. no you cant.
  Reply With Quote
06-10-10, 09:32 AM   #3
Taryble
A Molten Giant
 
Taryble's Avatar
Join Date: Jan 2009
Posts: 811
Actually, you totally can - you can write an entire addon inside of a kgpanels panel, if you really wanted to (and it didn't need more events than kgPanels has pre-set). Just go into the OnUpdate section and write a small addon that gets your Attack Power from the client, and then displays it as a fontstrong.

I have the theory, but I don't really care to dig into the actual lua. :>
__________________
-- Taryble
  Reply With Quote
06-10-10, 10:52 AM   #4
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 614
App

Taryble, Mank, thanks much for replying~ I downloaded Funkys Broker stats and let it show me the way to find the script I needed. I mistyped, was actually asking if anyone knew the SCRIPT I needed, lol, my apologies~
Up and working now, thanks again!
  Reply With Quote
06-10-10, 11:22 AM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Originally Posted by mankeluvsit View Post
uhh. kgpanels are for creating PANELS. no you cant.
http://i51.photobucket.com/albums/f3...s/screen-8.png

OP: you would use self.text to reference your panel's fontstring in the scripts section of kgPanels. Here's a sample script: http://www.wowace.com/addons/kg-pane...damage-display
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
06-10-10, 12:59 PM   #6
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 614
Always

As always, lady, you've been most helpful. My thanks~ =)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Attack power

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off