Okay, so this is my first time using LUA for a WoW Boss so please don't flame = ]
Code:
function ChatonCombat_OnCombat(Unit, Event)
Unit:SendChatMessage(12, 0, "Who dares challenge me!?")
Unit:RegisterEvent("Spellthree_Hellfire", 1000, 1)
Unit:RegisterEvent("Spellone_Fireball", 3000, 1)
Unit:RegisterEvent("Spelltwo_Pyroblast", 5000, 1)
end
function Spellone_Fireball(pUnit, Event)
pUnit:FullCastSpellOnTarget(10151, pUnit:GetRandomPlayer(0))
end
function Spelltwo_Pyroblas(pUnit, Event)
pUnit:FullCastSpellOnTarget(42891, pUnit:GetRandomPlayer(0))
end
function Spellthree_Hellfire(pUnit, Event)
pUnit:FullCastSpellOnTarget(47823, pUnit:GetRandomPlayer(0))
end
function Chatonleave_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
Unit:SendChatMessage(11, 0, "You are no threat to me")
end
function Chatondie_OnDied(Unit, Event)
Unit:RemoveEvents()
Unit:SendChatMessage(12, 0, "NO! This can't be, my flames are IMMORTAl!")
end
function ChatonKill_OnKilledTarget(Unit, Event)
Unit:SendChatMessage(11, 0, "Haha, You guys are weak!")
end
RegisterUnitEvent(9924992, 1, "ChatonCombat_OnCombat")
RegisterUnitEvent(9924992, 2, "Chatonleave_OnLeaveCombat")
RegisterUnitEvent(9924992, 3, "ChatonKill_OnKilledTarget")
RegisterUnitEvent(9924992, 4, "Chatondie_OnDied")
When Dzir enters combat he yells "Who dares challenge me!?"
Then he will be casting either a Fireball, a PyroBlast or using Hellfire.
When he dies he will say "NO! This can't be, my flames are IMMORTAl!"
When he kills someone he will say "Haha, You guys are weak"
If he leaves combat he will also say "You are no threat to me"
:P Ill add a picture IF i release any further "Bosses" and those will not be as Basic as this one.