RaidWatch 2

Templates / Boss Template

local mod = RW:Boss("{Boss Name}", "{Mod Pack}" [, "{sub menu}"])
local L

mod.BossIcon = [[]]

---------------------------
-- Variables

---------------------------
-- Init

function mod:OnRegister()
	L = mod:RegisterLocale(self:GetName(), "enUS", true)
	if L then
		-- Register locale variables
	end
	L = mod:GetLocale()
	self.L = L
	
	self:SetTrigger()
	self:SetWin()
end

---------------------------
-- Locals

-- API Functions
function mod:OnPreEngage(trigger)
   return shouldEngage
end

function mod:OnEngage(trigger)
end

function mod:OnPreEnd(trigger)
   return shouldEnd
end

function mod OnEnd(wipe, trigger)
end

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Nov 20, 2009
Last updated
Aug 18, 2010

Author