Heres some that I can find just from looking at it. Care to give me the actual error?
Code:
function boc_phase1 (pUnit, Event)
if pUnit:GetHealthPct() <= 60 then
pUnit:SendChatMessage (0, 0, "Haha! You think you can beat me, You scrub!")
end
RegisterUnitEvent (90003, 1, "boc_phase1")
function boc_phase2 (pUnit, Event)
if pUnit:GetHealthPct() <= 30
pUnit:SendChatMessage (0, 0, "You may have severely damaged me, but I will not fail!")
end
RegisterUnitEvent (90003, 1, "boc_phase2")
function boc_spell1 (pUnit, Event)
if pUnit:GetHealthPct() <= 25
pUnit:CastSpell(11)
end
RegisterUnitEvent (90003, 1, "boc_spell1")
function boc_model (pUnit, Event)
if pUnit:GetHealthPct() <= 15
pUnit:SetModel(13210)
end
RegisterUnitEvent (90003, 1, "boc_model")
function boc_OnKilled (pUnit, Event)
pUnit:SendChatMessage(0, 0, "You have somehow defeated me! How could of this happened? The FireMane's will keep coming even with my death!")
end
RegisterUnitEvent (90003, 4, "boc_OnKilled")