LUA Boss Script menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    Lindoz12's Avatar Member
    Reputation
    19
    Join Date
    Apr 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    LUA Boss Script

    Hello guys, my boss script worked before but when i added AddItem stuff it stopped, please help me! I want the boss to add these items to everybody that is in the group that killed him(Wont fit in loot so i thought id add them directly)

    function phase_1(pUnit, Event)
    if pUnit:GetHealthPct() < 70 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(16033)
    pUnit:FullCastSpell(16033)
    pUnit:FullCastSpell(16033)
    pUnit:FullCastSpell(16033)
    pUnit:FullCastSpell(16033)
    pUnit:RegisterEvent("phase_2",1000, 0)
    end

    function phase_2(pUnit, Event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(33452)
    pUnit:FullCastSpell(33452)

    x = pUnit:GetX()
    y = pUnit:GetY()
    z = pUnit:GetZ()
    o = pUnit:GetO()
    pUnit:SpawnGameObject(177241, x, y, z, o, 600000)
    end
    x = pUnit:GetX()
    y = pUnit:GetY()
    z = pUnit:GetZ()
    o = pUnit:GetO()
    pUnit:SpawnGameObject(177241, x, y, z, o, 600000)
    pUnit:SpawnCreature(500838, x, y, z, o, 360000);
    pUnit:SpawnCreature(500838, x, y, z, o, 360000);
    pUnit:SpawnCreature(500838, x, y, z, o, 360000);
    pUnit:SpawnCreature(500838, x, y, z, o, 360000);
    pUnit:SpawnCreature(500838, x, y, z, o, 360000);

    RegisterUnitEvent (500838, 6, "BlackfreezeVoid_OnSpawn")
    pUnit:SendChatMessage(12, 0 , "Obey my orders, mortals!")
    pUnit:CastSpell(3130)
    pUnit:CastSpell(3130)
    pUnit:CastSpell(3130)
    pUnit:CastSpell(3130)
    pUnit:SendChatMessage(12, 0 , "Want some ice? I want ice-...cream of you!")
    pUnit:RemoveEvents(phase_2)
    pUnit:RegisterEvent("phase_3",1000, 0)
    pUnit:RegisterUnitEvent (500838, 6, "BlackfreezeVoid_OnSpawn")
    end


    function BlackfreezeVoid_OnSpawn (Unit, Event)
    Unitespawn (60000, 0)
    end

    function phase_3(pUnit, Event)
    if pUnit:GetHealthPct() < 30 then
    pUnit:SendChatMessage(12, 0, "Hate to steal phrases but i deserve it for beating Illidan Stormrage... You are not prepared!")
    pUnit:RemoveEvents(phase_3);
    pUnit:FullCastSpell(34807)
    pUnit:RegisterEvent("Boss_OnDied",1000, 0)
    end
    end

    function Boss_Phase4(pUnit, event)
    if pUnit:GetHealthPct() < 99.99999999999 then
    pUnit:SendChatMessage(12, 0 , "Welcome intruders, I've waited for this moment... This moment, TO LONG!!!")
    pUnit:RemoveEvents(Boss_Phase4);
    pUnit:RegisterEvent("phase_1",1000, 0)
    end
    end

    function boss_start(pUnit, Event)
    pUnit:RegisterEvent("Boss_Phase4",1000, 0)
    end
    RegisterUnitEvent(213378, 1, "boss_start")

    function Boss_OnDied(pUnit)
    pUnit:SendChatMessage("B-b... But how?")
    pUnit:RemoveEvents()
    g = pUnit:GetTarget()
    g:AddItem(2000201, 1)
    g:AddItem(2000202, 1)
    g:AddItem(2000203, 1)
    g:AddItem(2000204, 1)
    g:AddItem(2000205, 1)
    g:AddItem(2000206, 1)
    g:AddItem(2000207, 1)
    g:AddItem(2000208, 1)
    g:AddItem(2000209, 1)
    g:AddItem(2000210, 1)
    g:AddItem(2000211, 1)
    g:AddItem(2000212, 1)
    g:AddItem(2000213, 1)
    g:AddItem(2000214, 1)
    g:AddItem(2000215, 1)
    g:AddItem(2000216, 1)
    g:AddItem(2000217, 1)
    g:AddItem(2000218, 1)
    g:AddItem(2000219, 1)
    g:AddItem(2000221, 1)
    g:AddItem(2000222, 1)
    g:AddItem(2000223, 1)
    g:AddItem(2000224, 1)
    g:AddItem(2000225, 1)
    g:AddItem(2000226, 1)
    g:AddItem(2000227, 1)
    g:AddItem(2000228, 1)
    g:AddItem(2000229, 1)
    g:AddItem(2000230, 1)
    g:AddItem(2000231, 1)
    g:AddItem(2000232, 1)
    g:AddItem(2000233, 1)
    g:AddItem(2000234, 1)
    g:AddItem(2000235, 1)
    g:AddItem(2000236, 1)
    g:AddItem(2000237, 1)
    g:AddItem(2000238, 1)
    g:AddItem(2000239, 1)
    g:AddItem(2000240, 1)
    g:AddItem(2000241, 1)
    g:AddItem(2000242, 1)
    g:AddItem(2000243, 1)
    g:AddItem(2000244, 1)
    g:AddItem(2000245, 1)
    g:AddItem(2000246, 1)
    g:AddItem(2000247, 1)
    g:AddItem(2000248, 1)
    g:AddItem(2000249, 1)
    g:AddItem(2000250, 1)
    g:AddItem(2000251, 1)
    g:AddItem(2000252, 1)
    g:AddItem(2000253, 1)
    g:AddItem(2000254, 1)
    g:AddItem(2000255, 1)
    g:AddItem(2000256, 1)
    g:AddItem(2000257, 1)
    g:AddItem(2000258, 1)
    g:AddItem(2000259, 1)
    g:AddItem(2000260, 1)
    g:AddItem(2000261, 1)
    g:AddItem(2000262, 1)
    g:AddItem(2000263, 1)
    g:AddItem(2000264, 1)
    g:AddItem(2000265, 1)
    g:AddItem(2000266, 1)
    g:AddItem(2000267, 1)
    g:AddItem(2000268, 1)
    g:AddItem(2000269, 1)
    g:AddItem(2000270, 1)
    g:AddItem(2000271, 1)
    g:AddItem(2000272, 1)




    if pUnit:GetHealthPct() < 0 then
    pUnit:SendChatMessage("B-b... But how?")
    pUnit:RemoveEvents()
    end
    end
    end

    LUA Boss Script
  2. #2
    EmiloZ's Avatar Flying Piggy Back
    CoreCoins Purchaser
    Reputation
    538
    Join Date
    Jun 2007
    Posts
    1,393
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it just me. or is this just TOTALY wrong forum ?!
    Why fill up a signature?

  3. #3
    Szharz's Avatar Contributor
    Reputation
    149
    Join Date
    Aug 2007
    Posts
    909
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WRONG SECTION

    +

    :noquestions:

    =

    :gtfo2:





  4. #4
    Lindoz12's Avatar Member
    Reputation
    19
    Join Date
    Apr 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, sorry... Couldnt find the script section around = \

  5. #5
    Arthas117's Avatar Knight-Champion
    Reputation
    151
    Join Date
    Mar 2007
    Posts
    483
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This "Script section" is Emulator Discussion, you posted in bots-programs. Anyway, nice script Thru I'm not going to use it, sorry :P

    World best PvP Paladin=Me? GG ;D


Similar Threads

  1. [help] LUA boss script
    By arthars1 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-08-2008, 07:11 PM
  2. [Question] Lua boss script
    By arthars1 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 06-08-2008, 12:11 AM
  3. [HELP] Lua boss script not working-solutions?
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 03-21-2008, 08:19 AM
  4. LUA Boss Script Help
    By neurothymia in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-05-2008, 02:57 PM
  5. Lua Boss Script Problems!!
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 01-22-2008, 08:59 PM
All times are GMT -5. The time now is 08:41 AM. 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