[Share/Release] Illidanius(Illidan's Brother) [LUA] menu

User Tag List

Results 1 to 10 of 10
  1. #1
    Sitzn's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Share/Release] Illidanius(Illidan's Brother) [LUA]

    Okey this is my first realease so dont be rude =)

    This Script Is made for Norwegian Elite By: Developer RobiiN (me)
    I just wanted to show something good, for first time! becuz the other scripts i realeased are outdated. so Here Is Illidan's Brother Illidanius
    He have 5Phases, I will get SS But I am to lazy for adding it now, cuz i have to sleep but try him out =)


    local SpawnID =Insert your own NPC ID here

    local NPCNAME =Illidanius

    local SPAWNNAME =Illidan's Brother

    local NPCID =Insert your own NPC ID here




    -- Start function --



    function NPCNAME_OnEnterCombat(pUnit,Event)
    pUnit:SetModel(22917)
    pUnit:/PlaySoundToSet(22917)
    pUnit:SetScale(2)
    pUnit:SetCombatCapable(1)
    pUnit:SetFaction(35)
    pUnit:SendChatMessage(14, 0, "How Dare you?")
    pUnit:RegisterEvent("NPCNAME_TalkStart1", 5000, 0)
    end


    -- Phase one --

    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))

    end


    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))

    end


    function NPCNAME_Phaseone(pUnit,Event)
    Choice=math.random(1, 2, 3, 4)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))

    end
    end
    if nit:GetHealthPct() <= 80 then
    Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phaseone", 1000, 0)
    end

    --Phase two--


    function NPCNAME_Phasetwo(pUnit,Event)
    Choice=math.random(1, 2, 3)
    if Choice==1 then
    pUnit:CastSpellOnTarget(40018,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40598,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(40585,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "You are just little pigs, Let me fight Knaur and il show you!!")
    pUnit:RegisterEvent("NPCNAME_TalkStart2", 5000, 0)
    end
    if nit:GetHealthPct() <= 70 then
    Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0
    end

    --Phase 3--

    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))

    end


    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))

    end


    function NPCNAME_Phasethree(pUnit,Event)
    Choice=math.random(1, 2, 3, 4, 5)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    end
    if Choice==5 then
    pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "Mohahahha, You dont have a chance against me!!")
    pUnit:RegisterEvent("NPCNAME_TalkStart3", 5000, 0)
    end
    end
    if nit:GetHealthPct() <= 50 then
    Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
    end

    --Phase 4--


    function NPCNAME_SpellR(pUnit,Event)
    Choice=math.random(1, 2, 3, 4)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41078,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(41126,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(41142,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "Gaaah, That hurt!! Now boy, you signed your own death!!!")
    pUnit:RegisterEvent("NPCNAME_TalkStart4", 5000, 0)
    end
    end
    if nit:GetHealthPct() <= 25 then
    Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
    end

    --Phase 5--

    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end


    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    end



    function NPCNAME_SpellR(pUnit,Event)
    Choice=math.random(1, 2, 3, 4, 5, 6, 7)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetMainTank(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetMainTank(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetMainTank(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetMainTank(0))
    end
    if Choice==5 then
    pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlayer(0))
    end
    if Choice==6 then
    pUnit:CastSpellOnTarget(40647,pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(14, 0, "Forgive me Brother I will Fall!!")
    pUnit:RegisterEvent("NPCNAME_TalkStart5", 5000, 0)
    end
    if Choice==7 then
    pUnit:CastSpellOnTarget(40683,pUnit:GetRandomPlayer(0))
    if nit:GetHealthPct() <= o then
    Unit:RegisterEvent("NPCNAME_death", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0

    end
    -- Extra --



    function NPCNAME_Death(pUnit)
    pUnit:SetScale(2)
    pUnit:/PlaySoundToSet(22917)
    pUnit:RemoveEvents()


    function NPCNAME_OnLeaveCombat(pUnit, event)
    pUnit:RemoveEvents()
    pUnit:SetModel(22917)
    pUnit:SetScale(2)
    end


    function NPCNAME_OnKilledTarget(pUnit)
    pUnit:/PlaySoundToSet(22917)
    end





    -- Start functions --


    RegisterUnitEvent(NPCID, 1, "NPCNAME_OnEnterCombat")
    RegisterUnitEvent(NPCID, 2, "NPCNAME_OnLeaveCombat")
    RegisterUnitEvent(NPCID, 3, "NPCNAME_OnKilledTarget")
    RegisterUnitEvent(NPCID, 4, "NPCNAME_Death")
    Ok, how to install this just create your own npc and replace the npc spawn id's..(easy) And Ofc you have to put the script into your scripts folder =)
    If any bugs are found please report them to ChronosWoW // RobiiN
    I dont need rep for this, only shared it for fun =) but if u want to then feel free to rep =)

    [Share/Release] Illidanius(Illidan's Brother) [LUA]
  2. #2
    thekingrules's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    n1 +rep from me =)

  3. #3
    svedin's Avatar Contributor
    Reputation
    124
    Join Date
    Jun 2008
    Posts
    557
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work so you will gain a +rep from me ^^

  4. #4
    Kirsebaer's Avatar Banned
    Reputation
    6
    Join Date
    Nov 2008
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi there, I saw this boss script and thought it was good.
    But I saw some bad spelling and to much "!!!!!" in the NPC-Chat message.
    I've corrected them for you.
    Enjoy:


    Code:
    local SpawnID =Insert your own NPC ID here
    
    local NPCNAME =Illidanius
    
    local SPAWNNAME =Illidan's Brother
    
    local NPCID =Insert your own NPC ID here
    
    
    
    
    -- Start function --
    
    
    
    function NPCNAME_OnEnterCombat(pUnit,Event)
    pUnit:SetModel(22917)
    pUnit:/PlaySoundToSet(22917)
    pUnit:SetScale(2)
    pUnit:SetCombatCapable(1)
    pUnit:SetFaction(35)
    pUnit:SendChatMessage(14, 0, "How do you even dare?")
    pUnit:RegisterEvent("NPCNAME_TalkStart1", 5000, 0)
    end
    
    
    -- Phase one --
    
    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_Phaseone(pUnit,Event)
    Choice=math.random(1, 2, 3, 4)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    
    end
    end
    if nit:GetHealthPct() <= 80 then
    Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phaseone", 1000, 0)
    end
    
    --Phase two--
    
    
    function NPCNAME_Phasetwo(pUnit,Event)
    Choice=math.random(1, 2, 3)
    if Choice==1 then
    pUnit:CastSpellOnTarget(40018,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40598,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(40585,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "You are just a bunch of pigs, give up while you still can!")
    pUnit:RegisterEvent("NPCNAME_TalkStart2", 5000, 0)
    end
    if nit:GetHealthPct() <= 70 then
    Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0
    end
    
    --Phase 3--
    
    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_Phasethree(pUnit,Event)
    Choice=math.random(1, 2, 3, 4, 5)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    end
    if Choice==5 then
    pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "Hah, that's not even good enough!")
    pUnit:RegisterEvent("NPCNAME_TalkStart3", 5000, 0)
    end
    end
    if nit:GetHealthPct() <= 50 then
    Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
    end
    
    --Phase 4--
    
    
    function NPCNAME_SpellR(pUnit,Event)
    Choice=math.random(1, 2, 3, 4)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41078,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(41126,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(41142,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "Aaargh, I need to finish you right now!")
    pUnit:RegisterEvent("NPCNAME_TalkStart4", 5000, 0)
    end
    end
    if nit:GetHealthPct() <= 25 then
    Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
    end
    
    --Phase 5--
    
    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    
    
    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    end
    
    
    
    function NPCNAME_SpellR(pUnit,Event)
    Choice=math.random(1, 2, 3, 4, 5, 6, 7)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetMainTank(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetMainTank(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetMainTank(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetMainTank(0))
    end
    if Choice==5 then
    pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlayer(0))
    end
    if Choice==6 then
    pUnit:CastSpellOnTarget(40647,pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(14, 0, "Forgive me Brother, I will fall.")
    pUnit:RegisterEvent("NPCNAME_TalkStart5", 5000, 0)
    end
    if Choice==7 then
    pUnit:CastSpellOnTarget(40683,pUnit:GetRandomPlayer(0))
    if nit:GetHealthPct() <= o then
    Unit:RegisterEvent("NPCNAME_death", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0
    
    end
    -- Extra --
    
    
    
    function NPCNAME_Death(pUnit)
    pUnit:SetScale(2)
    pUnit:/PlaySoundToSet(22917)
    pUnit:RemoveEvents()
    
    
    function NPCNAME_OnLeaveCombat(pUnit, event)
    pUnit:RemoveEvents()
    pUnit:SetModel(22917)
    pUnit:SetScale(2)
    end
    
    
    function NPCNAME_OnKilledTarget(pUnit)
    pUnit:/PlaySoundToSet(22917)
    end
    
    
    
    
    
    -- Start functions --
    
    
    RegisterUnitEvent(NPCID, 1, "NPCNAME_OnEnterCombat")
    RegisterUnitEvent(NPCID, 2, "NPCNAME_OnLeaveCombat")
    RegisterUnitEvent(NPCID, 3, "NPCNAME_OnKilledTarget")
    RegisterUnitEvent(NPCID, 4, "NPCNAME_Death")
    Last edited by Kirsebaer; 03-03-2009 at 05:19 PM.

  5. #5
    genetik's Avatar Banned
    Reputation
    24
    Join Date
    Jan 2009
    Posts
    117
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice rep+ (ms2s)

  6. #6
    y2kss66's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    778
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice script +Rep!

  7. #7
    Trollin's Avatar Contributor
    Reputation
    204
    Join Date
    Nov 2008
    Posts
    1,092
    Thanks G/R
    0/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cool script, good job!
    ____________________________________________

    ____________________________________________

  8. #8
    Sitzn's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks everyone =) there is some spelling that need to be corrected (my english insnt that good) im from sweden tho, and the script need a little update cuz some things are wrong ^^

  9. #9
    unen's Avatar Member
    Reputation
    8
    Join Date
    Dec 2006
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by maxlundell View Post
    Hi there, I saw this boss script and thought it was good.
    But I saw some bad spelling and to much "!!!!!" in the NPC-Chat message.
    I've corrected them for you.
    Enjoy:


    Code:
    local SpawnID =Insert your own NPC ID here
    
    local NPCNAME =Illidanius
    
    local SPAWNNAME =Illidan's Brother
    
    local NPCID =Insert your own NPC ID here
    
    
    
    
    -- Start function --
    
    
    
    function NPCNAME_OnEnterCombat(pUnit,Event)
    pUnit:SetModel(22917)
    pUnit:/PlaySoundToSet(22917)
    pUnit:SetScale(2)
    pUnit:SetCombatCapable(1)
    pUnit:SetFaction(35)
    pUnit:SendChatMessage(14, 0, "How do you even dare?")
    pUnit:RegisterEvent("NPCNAME_TalkStart1", 5000, 0)
    end
    
    
    -- Phase one --
    
    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_Phaseone(pUnit,Event)
    Choice=math.random(1, 2, 3, 4)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    
    end
    end
    if nit:GetHealthPct() <= 80 then
    Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phaseone", 1000, 0)
    end
    
    --Phase two--
    
    
    function NPCNAME_Phasetwo(pUnit,Event)
    Choice=math.random(1, 2, 3)
    if Choice==1 then
    pUnit:CastSpellOnTarget(40018,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40598,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(40585,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "You are just a bunch of pigs, give up while you still can!")
    pUnit:RegisterEvent("NPCNAME_TalkStart2", 5000, 0)
    end
    if nit:GetHealthPct() <= 70 then
    Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasetwo", 1000, 0
    end
    
    --Phase 3--
    
    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    
    end
    
    
    function NPCNAME_Phasethree(pUnit,Event)
    Choice=math.random(1, 2, 3, 4, 5)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    end
    if Choice==5 then
    pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "Hah, that's not even good enough!")
    pUnit:RegisterEvent("NPCNAME_TalkStart3", 5000, 0)
    end
    end
    if nit:GetHealthPct() <= 50 then
    Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasethree", 1000, 0)
    end
    
    --Phase 4--
    
    
    function NPCNAME_SpellR(pUnit,Event)
    Choice=math.random(1, 2, 3, 4)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41078,pUnit:GetRandomPlayer(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(41126,pUnit:GetRandomPlayer(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetRandomPlayer(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(41142,pUnit:GetRandomPlayer(0))
    end
    pUnit:SendChatMessage(14, 0, "Aaargh, I need to finish you right now!")
    pUnit:RegisterEvent("NPCNAME_TalkStart4", 5000, 0)
    end
    end
    if nit:GetHealthPct() <= 25 then
    Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasefour", 1000, 0)
    end
    
    --Phase 5--
    
    function NPCNAME_SpellpUnitShear,Event)
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(41032,pUnit:GetRandomPlayer(0))
    end
    
    
    function NPCNAME_SpellFlameCrash(pUnit,Event)
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    pUnit:CastSpellOnTarget(40832,pUnit:GetRandomPlayer(0))
    end
    
    
    
    function NPCNAME_SpellR(pUnit,Event)
    Choice=math.random(1, 2, 3, 4, 5, 6, 7)
    if Choice==1 then
    pUnit:CastSpellOnTarget(41117,pUnit:GetMainTank(0))
    end
    if Choice==2 then
    pUnit:CastSpellOnTarget(40904,pUnit:GetMainTank(0))
    end
    if Choice==3 then
    pUnit:CastSpellOnTarget(41032,pUnit:GetMainTank(0))
    end
    if Choice==4 then
    pUnit:CastSpellOnTarget(40832,pUnit:GetMainTank(0))
    end
    if Choice==5 then
    pUnit:CastSpellOnTarget(40932,pUnit:GetRandomPlayer(0))
    end
    if Choice==6 then
    pUnit:CastSpellOnTarget(40647,pUnit:GetRandomPlayer(0))
    pUnit:SendChatMessage(14, 0, "Forgive me Brother, I will fall.")
    pUnit:RegisterEvent("NPCNAME_TalkStart5", 5000, 0)
    end
    if Choice==7 then
    pUnit:CastSpellOnTarget(40683,pUnit:GetRandomPlayer(0))
    if nit:GetHealthPct() <= o then
    Unit:RegisterEvent("NPCNAME_death", 1000, 0)
    not Unit:RegisterEvent("NPCNAME_Phasefive", 1000, 0
    
    end
    -- Extra --
    
    
    
    function NPCNAME_Death(pUnit)
    pUnit:SetScale(2)
    pUnit:/PlaySoundToSet(22917)
    pUnit:RemoveEvents()
    
    
    function NPCNAME_OnLeaveCombat(pUnit, event)
    pUnit:RemoveEvents()
    pUnit:SetModel(22917)
    pUnit:SetScale(2)
    end
    
    
    function NPCNAME_OnKilledTarget(pUnit)
    pUnit:/PlaySoundToSet(22917)
    end
    
    
    
    
    
    -- Start functions --
    
    
    RegisterUnitEvent(NPCID, 1, "NPCNAME_OnEnterCombat")
    RegisterUnitEvent(NPCID, 2, "NPCNAME_OnLeaveCombat")
    RegisterUnitEvent(NPCID, 3, "NPCNAME_OnKilledTarget")
    RegisterUnitEvent(NPCID, 4, "NPCNAME_Death")
    The way he spelled the phrases was better, for example the his first one was 100% correct (How dare you!). Where as your spellings are to "bulky" and don't sound right.

  10. #10
    the_venom's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Héh Nice^^ But Question ! The Demons have brothers? HeHe^^

Similar Threads

  1. [Share/Release] LUA Blizzcon Band
    By Lauren in forum WoW EMU General Releases
    Replies: 10
    Last Post: 10-30-2008, 04:58 PM
  2. [Release] Dark Illidan and Animations
    By Madara Uchiha in forum World of Warcraft Model Editing
    Replies: 5
    Last Post: 03-31-2008, 11:51 AM
  3. [Share/Release] Kobold V7
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 03-27-2008, 09:53 AM
  4. [Share/Release] Lua Portal
    By ~ViVo~ in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-16-2008, 10:40 AM
All times are GMT -5. The time now is 03:28 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search