PDA

View Full Version : [LUA]Nascentes


Mari0
05-10-2009, 05:46 AM
Im bored.. so yeah i made this script.. i havent tested it or anything... Im like kinda new to LUA so if i messed something up or if this script doesnt work for shat! Then comment below :D

THIS ONES FOR YOU NASCENTES FOR BEING AWESOME AND GFX XD :D:D
function Nascentes_OnCombat(pUnit, Event)
pUnit:SendChatMessage(14, 0, "DIE")
pUnit:RegisterEvent("Phase_1", 1000, 0)
end

function Nascentes_OnDied
pUnit:RemoveEvents()
end

function Nascentes_LeaveCombat (pUnit, Event)
pUnit:RemoveEvents()
end

function Phase_1(pUnit, Event)
if GetHealthPct() <= 1 then
pUnit:RemoveEvents()
pUnit:SendChatMessage(14, 0, "DIE BITCH!")
pUnit:RegisterEvent("Death Touch", 5, 0)
end

function Death Touch(pUnit, Event)
pUnit:CastSpellOnTarget(5, pUnit:GetRandomPlayer(0))
end


RegisterUnitEvent(1010101, 1, "Nascentes_OnCombat")
RegisterUnitEvent(1010101, 2, "Nascentes_OnLeaveCombat")
RegisterUnitEvent(1010101, 4, "Nascentes_OnDied")
Thanks you sdyess for you LEET TUTORIAL!

Drikish
05-10-2009, 05:47 AM
Lawl

sammyg69
05-10-2009, 05:52 AM
as if ,dude u ruined it :p the whole LUA people was to do for power users :P ask myerz and sdyess man !

Mari0
05-10-2009, 05:54 AM
SO! Nascentes is special too!
hE deserves to be a power user

sammyg69
05-10-2009, 05:55 AM
obviousley :P but still you ruined it man!

Mari0
05-10-2009, 06:09 AM
No such thing as ruining an epic release

sammyg69
05-10-2009, 06:26 AM
u say epic i say any regular release :P like it was a power user thing only that was ruined

Diablothein
05-10-2009, 01:40 PM
Shut up sammy, since when was it mandatory to be a power user to get a scripted npc? NEVER, so stop trying to make it look like what he did will bring hte end of the world.

sammyg69
05-10-2009, 03:34 PM
Lolll i was only kidding ok so dont start ,but no how everyone and bye everyone i mostly mean Myerz and Sdyess ,how they had it was they were scripting Power users so its not just another rank ,
its somthing earned,but whatever i dont care that nas was scripted .i was only kidding so chill