So I need some help if you don't mind.
I am trying to make a simple mod to disable the default blizzard buffs, and not have them replaced by another buff mod. I just want to kill them completely.
Honestly, I am not much of a .lua coder and have been reading the tutorials on creating addons with ace2, though I don't know if I would really need the Ace Library Functions to do this. /shrug.
Here's what I have so far... feel free to chuckle to yourself and roll your eyes
--------------------------------------------------------------------------------------------------------
--Bye-Bye Blizzard Buffs
--Hides the default buff frames
BBBB = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceDB-2.0", "AceEvent-2.0")
function BBBB:OnInitialize()
self: DisableBlizzardBuffs() - Spaced because of the forum smileys =x
end
function BBBB:OnDisable()
self:EnableBlizzardBuffs()
end
--------------------------------------------------------------------------------------------------------
WoW is giving me an error : Attempt to call method 'DisableBlizzardBuffs' a nil value.
It's not complete, but I can't figure out the fuction I need to have them disabled.
I pulled the "self: DisableBlizzardBuffs()" from the Buffalo.lua and figured this would be the correct way to disable them.
I obviously don't know what I'm doing.
Anyone willing to give me a few tips?
Thanks.
Edit : Forum Smileys make the code look silly