PDA

View Full Version : Tiny Noobcraft



Boxxy
03-08-08, 11:34 PM
------made by noobcraft of psfdb------

function phase_11(pUnit, Event)
if pUnit:GetHealthPct() < 70 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (11, 0, "TAKE THIS!")
pUnit:FullCastSpell(8989)
pUnit:RegisterEvent("phase_22",1000, 0)
end
end

function phase_22(pUnit, Event)
if pUnit:GetHealthPct() < 50 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (11, 0, "My axe wills cuts youse!")
pUnit:FullCastSpell(8989)
pUnit:RegisterEvent("phase_33",1000, 0)
end
end

function phase_33(pUnit, Event)
if pUnit:GetHealthPct() < 30 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (11, 0, "Tiny POWER!")
pUnit:FullCastSpell(27136)
pUnit:RegisterEvent("phase_44",1000, 0)
end
end
function phase_44(pUnit, Event)
if pUnit:GetHealthPct() < 10 then
pUnit:RemoveEvents();
pUnit:SendChatMessage (11, 0, "FOR TINY JENTO!")
pUnit:FullCastSpell(14204)
end
end

function Tiny_start(pUnit, Event)
pUnit:RegisterEvent("phase_11",1000, 0)
pUnit:SendChatMessage (11, 0, "$N, Ima kills you!")
end
RegisterUnitEvent(400001, 1, "Tiny_start")
function phase_44(pUnit, Event)
if pUnit:GetHealthPct() < 100 then
pUnit:RemoveEvents();
pUnit:FullCastSpell(46367)
end
end