All pastes #102797 Raw Edit

Winter Wolf BW2

public lua v1 · immutable
#102797 ·published 2006-07-27 23:06 UTC
rendered paste body
--------------------------------      Are you local?      --------------------------------local boss = "Winter Wolf"local L = AceLibrary("AceLocale-2.0"):new("BigWigs"..boss)------------------------------      Localization      ------------------------------L:RegisterTranslations("enUS", function() return {	cmd = "wwolf",} end )------------------------------------      Module Declaration      ------------------------------------BigWigsWinterWolf = BigWigs:NewModule(boss)BigWigsWinterWolf.zonename = AceLibrary("Babble-Zone-2.0")("Dun Morogh")BigWigsWinterWolf.toggleoptions = { "bosskill" }BigWigsWinterWolf.enabletrigger = bossBigWigsWinterWolf.revision = 1--------------------------------      Initialization      --------------------------------function BigWigsWinterWolf:OnEnable()	self:RegisterEvent("CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS")	self:RegisterEvent("CHAT_MSG_COMBAT_HOSTILE_DEATH", "GenericBossDeath")endfunction BigWigsWinterWolf:CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS()    DEFAULT_CHAT_FRAME:AddMessage("We're in WinterWolf's default handler for CHAT_MSG_COMBAT_CREATURE_VS_SELF_HITS.")end