Moderator
M
Moderator
14:28, 5th Nov 2009
The_Reborn_Devil:
The code looks pretty good and there's nothing wrong with this as far as I can see. It's pretty easy to make a SpellBar with your system, but I don't think it's easy enough for everyone.
All this is a little much I think for some of our users:
Yes, I'm aware of the fact that you need to have a lot of functions to make it as customizable as it its, but it could be easier.
Status: Approved
Rating: Recommended
If you make it even more user-friendly then I will consider giving this the rating "Highly Recommended".
The_Reborn_Devil:
The code looks pretty good and there's nothing wrong with this as far as I can see. It's pretty easy to make a SpellBar with your system, but I don't think it's easy enough for everyone.
All this is a little much I think for some of our users:
JASS:
local CustomBar c = 0
local ARGB left = 0
local ARGB right = 0
//: =-------------------=
//: Initialize CustomBar
//: =-------------------=
//: Add Colors
set left = ARGB.create(255, 8, 74, 16)
set right = ARGB.create(255, 214, 255, 230)
//: I Highly suggest to not touch this->
set c = CustomBar.create(GetTriggerUnit(), CustomBar_iChange.SpellBar_updateSpellBar)
//: Add a gradient
call c.txtBar.addGradient(left, right, 1, 25)
//: Show the CustomBar to this playergroup
call c.Show(bj_FORCE_ALL_PLAYERS, CustomBar_iShow.SpellBar_showCheck)
//: Display the CustomBar.
call c.showCB()
//: Now change our CustomBar to display the Spellname aswell.
set c.txtBar.limiterVisible = true
set c.txtBar.limiterSymbolRight = ""
set c.txtBar.limiterSymbolLeft = GetObjectName('AHhb') + "\n"
//: Actually creates the SpellBar
call SpellBar.create(GetTriggerUnit(), 'AHhb', 2.00, c)
Status: Approved
Rating: Recommended
If you make it even more user-friendly then I will consider giving this the rating "Highly Recommended".