This is just a script I wrote it is very simple and was one of my first. I added some more stuff to it. Can some one check and see if it is alright?
Code:
function Lord_of_Windsong_Enrage(pUnit, event)
if pUnit:GetHealthPct() < 60 then
pUnit:RemoveEvents()
pUnit:CastSpell(33653)
pUnit:CastSpell(30435)
pUnit:CastSpell(43121)
pUnit:SendChatMessage(11,0,"Come and Fight Me!!")
end
end
function Lord_of_Windsong_onCombat (pUnit, Event)
pUnit:SendChatMessage(11, 0, "Ha Ha You Cant Defeat Me!")
pUnit:RegisterEvent("Lord_of_Windsong_Enrage",1000,0)
end
function Lord_of_Windsong_onLeaveCombat(pUnit, Event)
pUnit:RemoveAura(33653)
pUnit:RemoveAura(30435)
pUnit:RemoveAura(43121)
pUnit:RemoveEvents()
end
function Lord_of_Windsong_onDeath(pUnit, Event)
pUnit:SendChatMessage(11,0,"No..No..No.....No...!!!!!")
pUnit:RemoveAura(33653)
pUnit:RemoveAura(30435)
pUnit:RemoveAura(43121)
pUnit:RemoveEvents()
end
RegisterUnitEvent (14, 1, "Lord_of_Windsong_onCombat")
RegisterUnitEvent (14, 2, "Lord_of_Windsong_onLeaveCombat")
RegisterUnitEvent (14, 4, "Lord_of_Windsong_onDeath")
Tell you What it does:
At 60% it enrages Increases the caster's Physical damage by 100% for 10 min.
and also uses a spell called Enlarge Critter which increases his size by double
then it uses Cyclone Deals 950 to 1050 damage and knocks players away.
He does this continueously throughout the fight
and says Come and Fight Me
When he gets in combats he says Ha Ha You Cant Defeat Me
Then when he dies he says No..No..No.....No...!!!!!")