Hey everyone ive been learning how to script and im still really new at it, but I made this boss that I think is pretty cool, it worked for me hoping that some others will like it THIS IS JUST A SCRIPT Therefore you will need to use your own mob... Im still learning this as I said, so if people like it im gonna make some cooler bosses as I learn
Code:
function Horseman_EnterCombat (pUnit, event)
pUnit:SendChatMessage(14, 0, "What fools would dare challenge the prince of hate?!")
pUnit:RegisterEvent("Horseman_Wave", 14000, 0)
pUnit:RegisterEvent("Horseman_Phase2", 1000, 0)
end
function Horseman_Wave (pUnit, event)
pUnit:CastSpell(39038, pUnit:GetClosestPlayer())
end
function Horseman_Phase2 (pUnit, event)
if pUnit:GetHealthPct() < 75 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "Puny mortals, I will not be defeated...")
pUnit:RegisterEvent("Horseman_Silence", 18000, 0)
pUnit:RegisterEvent("Horseman_Wave2", 14000, 0)
end
end
function Horseman_Wave2 (pUnit, event)
pUnit:CastSpell(39038, pUnit:GetClosestPlayer())
end
function Horseman_Silence (pUnit, event)
pUnit:FullCastSpellOnTarget(18278, pUnit:GetClosestPlayer(4))
end
function Horseman_LeaveCombat (pUnit, event)
pUnit:RemoveEvents()
end
function Horseman_Die (pUnit, event)
pUnit:RemoveEvents()
end
RegisterUnitEvent(900001, 1, "Horseman_EnterCombat")
RegisterUnitEvent(900001, 2, "Horseman_LeaveCombat")
RegisterUnitEvent(900001, 4, "Horseman_Die")
Hope some of ya like it...its no Kreegoth script thats for sure haha. Its the 1st boss for my 5 man instance, once I learn more ill prolly add more to him. It yells some stuff and does aoe knockback/dmg the whole fight then at 75% it does AoE and silences a random player with mana leave me some feedback and enjoy heh (Also the entry ID is 900001