Code:
function Pandorra_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "You insignificant nats cannot stop my rise! My awakening draws near!")
pUnit:RegisterEvent("Pandorra_DeathTouch", 300, 1)
pUnit:RegisterEvent("Pandorra_SoulBleeding", 60, 1)
pUnit:RegisterEvent("Pandorra_Shackle", 40, 1)
pUnit:RegisterEvent("Pandorra_Felstreak", 70, 1)
end
function Pandorra_DeathTouch(pUnit, Event)
pUnit:FullCastSpellOnTarget(5, pUnit:GetRandomPlayer(0))
pUnit:SendChatMessage(14, 8, "Your death is only a stepping stone for the massive fail you all will have.")
end
function Pandorra_SoulBleeding(pUnit, Event)
pUnit:FullCastSpellOnTarget(41303, pUnit:GetRandomPlayer(4))
pUnit:SendChatMessage(12, 0, "Everything drains from you.")
end
function Pandorra_Shackle
pUnit:FullCastSpellOnTarget(38051, pUnit:GetRandomPlayer(7))
pUnit:SendChatMessage(14, 8, "Be shackled!")
end
function Pandorra_FelStreak
pUnit:FullCastSpellOnTarget(67044, pUnit:GetRandomPlayer(0))
end
function Pandorra_SummonMinion
pUnit:CastSpell(38876)
pUnit:SendChatMessage(14, 8, "Minons, assist your master!")
end
function Pandorra_RainofFire
pUnit:CastSpell(47820)
end
function Pandorra_OnLeaveCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "So the pUnited forces of Sacredos have failed. Now the hour of my rise comes near."
pUnit:SendChatMessage(14, 8, "Come my minions. Empower you master.")
pUnit:RemoveEvents()
end
function Pandorra_OnKilledTarget(pUnit, Event)
pUnit:SendChatMessage(14, 0, "Pathetic!")
end
function Pandorra_OnDied(pUnit, Event)
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "No...NO! How could you weaken me? Why have you the power to imprison me again? WHY?")
end
RegisterUnitEvent(509358, 1, "Pandorra_OnCombat")
RegisterUnitEvent(509358, 2, "Pandorra_OnLeaveCombat")
RegisterUnitEvent(509358, 3, "Pandorra_OnKilledTarget")
RegisterUnitEvent(509358, 4, "Pandorra_OnDied")
Yes, he does not have any phases, but that should be.