Thread: Inverted health
View Single Post
12-10-14, 09:57 PM   #4
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
I'd go with

Code:
local hp = CreateFrame("StatusBar", nil, self)
self.Health = hp
Which means you can save yourself some typing whenever you address hp, at least that's the main advantage for me.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

  Reply With Quote