promotional bannermobile promotional banner

Druid Bar

Abandoned
Druid Bar

File Details

Druid Bar v4.1 [Complete]

  • R
  • Nov 5, 2008
  • 30.01 KB
  • 17
  • 3.0.3
  • Retail

File Name

DruidBarv4.1complete.zip

Supported Versions

  • 3.0.3

All-
Overall, you should notice a decrease in extra junk and for the addon to be quicker to respond to your changes, with less cpu power used and less garbage.
Everything should be independent of one another, and you can simply delete the unneeded module from DruidBar.toc or just delete the specific .lua.
(leave main.lua and local.lua intact please, or else you will suffer the wrath of errorspam and non-workage)
Fixed typos and reworded a couple of things to make it more intuitive.

local.lua -
Converted localized text strings to only be loaded if they'll be used for the session.

main.lua -
Re-added DruidBarKey.keepthemana and maxmana, for older program backward compat. Hope to swap this out eventually as more addons swap to the UnitPower standard.

mana.lua -
Changed how energy is watched, turning on and off the events depending on what form and options are selected.

menu.lua -
Optimized code to promote less garbage.

message.lua -
Added "Yell" to the list of message options.
Fixed a bug that prevented a message from going off when changing into your fifth form(be it tree, moon, or flight)

shift.lua -
Removed unneeded events to update macro data.
Optimized code to reduce garbage and cpu use.
Moved the easy shifting macro creation to main.lua(as it's a creation process associated with DruidBarKey, not something that needed to be updated when macros are refreshed)

None currently...
though it should only use on average about 110k of memory, i still want to reduce this even further(because i can...or can i?), as well as make each section optional for the user.