PDA

View Full Version : [LuA Script] Artillies


Myerz
04-29-2009, 03:38 AM
http://img24.imageshack.us/img24/223/edp.png

function Arte_Combat (pUnit, Event)
pUnit:SendChatMessage(12, 0, "I'm coming to kick your ass, Panda Style")
print "Panda Enraged..."
pUnit:RegisterEvent("Spells", math.random(14000, 23000), 0)
pUnit:RegisterEvent("Phase_1", 1000, 0)

end

function Arte_LeaveCombat (pUnit, Event)
print "Artillies has left combat"
pUnit:RemoveEvents()
end

function Arte_KillTarget (pUnit, Event)
local Text = math.random(1, 4)
if Text == 1 then
pUnit:SendChatMessage(14, 0, "Banned from Ac-Web!!")
elseif Text == 2 then
pUnit:SendChatMessage(14, 0, "My Anime is uber!")
elseif Text == 3 then
pUnit:SendChatMessage(14, 0, "Panda just kicked your ass...")
end
end

function Arte_Death (pUnit, Event)
print "Panda died.."
pUnit:RemoveEvents()
end

RegisterUnitEvent(NPCID, 1, "Arte_Combat")
RegisterUnitEvent(NPCID, 2, "Arte_LeaveCombat")
RegisterUnitEvent(NPCID, 3, "Arte_KillTarget")
RegisterUnitEvent(NPCID, 4, "Arte_Death")

function Phase_1 (pUnit, Event)
if pUnit:GetHealthPct() <= 85 then
pUnit:RemoveEvents()
print "Arte Phase 1.."
pUnit:RegisterEvent("Lavaburst", math.random(15000, 17000), 0)
pUnit:RegisterEvent("Spells", math.random(21000, 15000), 0)
pUnit:RegisterEvent("Shock", math.random(21000, 12000), 0)
pUnit:RegisterEvent("Phase_2", 1000, 0)
end
end

function Phase_2 (pUnit, Event)
if pUnit:GetHealthPct() <= 65 then
pUnit:RemoveEvents()
print "Arte Phase 2.."
pUnit:RegisterEvent("Spells", math.random(21000, 12000), 0)
pUnit:RegisterEvent("Phase_3", 1000, 0)
end
end

function Phase_3 (pUnit, Event)
if pUnit:GetHealthPct <= 40 then
pUnit:RemoveEvents()
print "Arte Phase 3.."
pUnit:RegisterEvent("Shock", math.random(11000, 32000), 0)
pUnit:RegisterEvent("Spells", math.random(21000, 12000), 0)
pUnit:RegisterEvent("Hex", math.random(12000, 14000), 0)
end
end
function Spells (pUnit, Event)
Choice=math.random(1, 9)
if Choice==1 then
pUnit:CastSpellOnTarget(60073, pUnit:GetMainTank())
pUnit:CastSpell(41367)
end

if Choice==2 then
pUnit:CastSpell(48443)
pUnit:CastSpellOnTarget(34793, pUnit:GetRandomPlayer(0))
end

if Choice==3 then
pUnit:CastSpellOnTarget(36833, pUnit:GetRandomPlayer(0))
end

if Choice==4 then
pUnit:CastSpellOnTarget(48996, pUnit:GetRandomPlayer(0))
end

if Choice==5 then
pUnit:CastSpellOnTarget(47610, pUnit:GetMainTank())
end

if Choice==6 then
pUnit:CastSpellOnTarget(42921, pUnit:GetRandomPlayer(0))
end

if Choice==7 then
pUnit:CastSpell(48441)
end

if Choice==8 then
pUnit:FullCastSpellOnTarget(48461, pUnit:GetRandomPlayer(0))
end

if Choice==9 then
pUnit:FullCastSpellOnTarget(42931, pUnit:GetRandomPlayer(0))
end
end

function Lavaburst (pUnit, Event)
pUnit:FullCastSpellOnTarget(51505, pUnit:GetRandomPlayer(0))
end

function Shock (pUnit, Event)
pUnit:FullCastSpellOnTarget(45302, pUnit:GetRandomPlayer(0))
end

function Hex (pUnit, Event)
pUnit:FullCastSpellOnTarget(51514, pUnit:GetRandomPlayer(0))
end

sammyg69
04-29-2009, 03:46 AM
Ewww artilles ahaha jk

treetree
04-29-2009, 03:51 AM
hahahahah,,I bet artlles is going
to say something weird about this.

hahahahaha tree :)

Apply
04-29-2009, 12:13 PM
Any Screenshotzor?

Terrorblade
04-29-2009, 01:02 PM
D= why don't i have a boss script of me :(

Artilles
04-29-2009, 01:49 PM
Tha't one messed up bad lua...AND HEY LEARN TO SPELL MY NAME!!

PaikProductions
04-29-2009, 02:54 PM
Hope mine comes soon "if" its gonna be created XD!

Artilles
04-29-2009, 02:55 PM
Don't bump it baka

Myerz
04-29-2009, 06:53 PM
Artilles, i wanna see you script then i can post negative comments about your work :) Oh wait that stuff already happens on a daily basis to you..

PaikProductions
04-29-2009, 06:56 PM
Myerz, who's next just asking :P! I love your works!

Myerz
04-29-2009, 06:57 PM
Hmm, I'll make you next :)

PaikProductions
04-29-2009, 06:57 PM
That would be perfect ;)! haha^^

Myerz
04-29-2009, 06:58 PM
If u can PM me with stuff you say alot for the text :P

Artilles
04-29-2009, 07:06 PM
I need more messages, and i see you don't know me very well at all

sammyg69
04-29-2009, 07:27 PM
wow artilles ,stop being an asshole and just say thank you

Artilles
04-29-2009, 07:31 PM
No way, well, he did some effort in it tho, he shall have that..or else..it doesn't look good

1. No kung fu spells
2. Too few messages, i'm much more than flame flame
3. :< theres no 3!!

RiperHax
05-12-2009, 05:15 PM
:< poor Artilles i wanted to see some kung fu spells like Kick.

maxelocked
05-14-2009, 05:04 AM
screen please

Wizard
05-14-2009, 12:16 PM
Artilles bwahaha! Bump for teh script.

Luig!
05-16-2009, 11:49 PM
Nice script.

treetree
05-16-2009, 11:53 PM
ya,lets feel sorry for artilles,
better yet lets get 10 people
like him here and then we will
have a party to say farewell to
all the nice people here when
they get fed up with all the
bad spam and posting filth.

Furthermore: Artilles can come back anytime
he straitens out his attitude and language.

tree :)

Luig!
05-16-2009, 11:57 PM
Is there anything wrong with Artilles? why do you say he spam?

Starfox
05-17-2009, 12:00 AM
you forgot a line

elseif Text == 4 then
pUnit:SendChatMessage(14, 0, "SPAM SPAM SPAM SPAM SPAM")


lol i was bored