looking for a boss script that casts Enrage (spell ID 28131) at 15%
NPC name Sever (creature ID 14)
looking for a boss script that casts Enrage (spell ID 28131) at 15%
NPC name Sever (creature ID 14)
This boss does a bit more than cast enrage, but, check it out.
http://www.mmowned.com/forums/emulat...tml#post535796
EDIT: You can edit it to you liking if you want.
Last edited by Shao111; 08-17-2008 at 11:54 AM.
function Sever_OnCombat(Unit, Event, Miscunit, Misc)
Unit:SendChatMessage(12, 0, "Insert you chat message here or delete this line")
Unit:RegisterEvent("Sever_Enrage", 1000, 0)
end
function Sever_Enrage(Unit, event, miscunit, misc)
if Unit:GetHealthPct() == 15 then
Unit:CastSpell(28131)
end
end
function Sever_OnLeaveCombat(Unit, Event, Miscunit, Misc)
Unit:SendChatMessage(12, 0, "Insert you chat message here or delete this line")
Unit:RemoveEvents()
end
function Sever_OnDied(Unit, Event, Miscunit, Misc)
Unit:SendChatMessage(12, 0, "Insert you chat message here or delete this line")
Unit:RemoveEvents()
end
function Sever_OnKilledTarget(Unit, Event, Miscunit, Misc)
Unit:SendChatMessage(12, 0, "Insert you chat message here or delete this line")
end
RegisterUnitEvent(14, 1, "Sever_OnCombat")
RegisterUnitEvent(14, 2, "Sever_OnLeaveCombat")
RegisterUnitEvent(14, 3, "Sever_OnKilledTarget")
RegisterUnitEvent(14, 4, "Sever_OnDied")
there you go should work if not pls repost or send PM i'll figure what i screwed up on