Quantcast
Download
(13 Kb)
Download
Updated: 11-19-14 06:00 PM
Pictures
File Info
Compatibility:
Warlords of Draenor (6.0.3)
Updated:11-19-14 06:00 PM
Created:11-05-14 02:51 PM
Downloads:890
Favorites:6
MD5:
Categories:Combat Mods, DPS

Kraft

Version: 60000.03
by: Fumler [More]

Kraft
A class resources addon, based on rClassBars by zork.

What does it do?
It has a power bar for mana, energy, demonic fury etc.

It does NOT have support for eclipse bar

And it has orb display for:

  • Combo Points
  • Chi
  • Burning Embers
  • Evangelism
  • Maelstrom
  • DK Runes
  • Soulshards
  • Shadoworbs
  • Frenzy
  • Arcane Orbs

Configuration
You can enable or disable the different modules and change color of the orbs in config.lua, more coming soon (tm).

Planned features
  • Buff filter
  • Debuff filter
  • Enemy castbar
  • Eclipse bar
  • Configuration panel

Got any suggestions or a problem? Leave a comment.

60000.03 - 20.11.2014
* Fixed issue with druid shapeshift (cat form is now index 2 instead of 3)

60000.02 - 18.11.2014
* Changed max chi to 6 instead of 5

60000.01 - 05.11.2014
* Removed lightning shield because stack size is now very high
* Removed "Ready, Set, Go..." because it has been removed
* Fixed issues with non-english clients for buff/debuff orbs
Optional Files (0)


Post A Reply Comment Options
Unread 11-19-14, 06:01 PM  
Fumler
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 17
Uploads: 2
Originally Posted by zork
...
That's a good idea, zork, will probably use that in the future Thanks.
Last edited by Fumler : 11-19-14 at 06:02 PM.
Report comment to moderator  
Reply With Quote
Unread 11-17-14, 02:56 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1635
File comments: 3622
Uploads: 118
@Fumler
I thought about the max_orb problem lately. Actually creating orbs when needed is much better design imo. I would change that in rClassBars aswell. Basically you check if an orb exists and if it does not you create it on the fly first. Most of the time this will look sth like this:

Lua Code:
  1. local function CreateOrb(bar)
  2.   local orb = CreateFrame("Frame")
  3.   bar.orbs[#bar.orbs+1] = orb
  4.   return orb
  5. end
  6.  
  7. local function UpdateOrbBar(bar,unit)
  8.  
  9.   local upm = UnitPowerMax(unit, powerTypeIndex)
  10.  
  11.   for i=1, upm do  
  12.     if not bar.orbs[i] then CreateOrb(bar) end
  13.   end
  14.  
  15.   --and so on
  16.  
  17. end
The max number of orbs comes from UnitPowerMax(unit[, POWER_TYPE_INDEX][, FULL_POWER])
http://www.wowinterface.com/forums/s...ad.php?t=48552

That would make it fail safe for future updates.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-17-14 at 03:08 AM.
Report comment to moderator  
Reply With Quote
Unread 11-05-14, 03:47 PM  
Fumler
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 17
Uploads: 2
Originally Posted by zork
Currently reading through your code. Looks awesome. One issue though.

You have not localized aura names. But that can be fixed easily.

Lua Code:
  1. cfg.AURA_NAME = "Maelstrom Weapon"
Just change sth like that to this
Lua Code:
  1. cfg.AURA_NAME = GetSpellInfo(51530)

Basically you use the spellid to get the localized name.

You can get the spellids with a specific tooltip addon that shows them or via wowhead:
http://www.wowhead.com/spell=51530/maelstrom-weapon
Thanks
Report comment to moderator  
Reply With Quote
Unread 11-05-14, 03:27 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1635
File comments: 3622
Uploads: 118
Currently reading through your code. Looks awesome. One issue though.

You have not localized aura names. But that can be fixed easily.

Lua Code:
  1. cfg.AURA_NAME = "Maelstrom Weapon"
Just change sth like that to this
Lua Code:
  1. cfg.AURA_NAME = GetSpellInfo(51530)

Basically you use the spellid to get the localized name.

You can get the spellids with a specific tooltip addon that shows them or via wowhead:
http://www.wowhead.com/spell=51530/maelstrom-weapon
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-05-14 at 03:29 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: