[RELEASE]LUA scripted boss! <EPIC!> menu

User Tag List

Results 1 to 9 of 9
  1. #1
    nickelo's Avatar Active Member
    Reputation
    56
    Join Date
    Aug 2007
    Posts
    463
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [RELEASE]LUA scripted boss! <EPIC!>

    This is a boss. Its name is ShadowKeeper
    It does all shadow damage.
    But im not going to include a SQL so you can make the NPC how ever you want =]. I'm just going to provide you with the script (P.S USE THE ID 100060")
    You can download it here =]


    Code:
    --[[--///////////////////////////////////////////////////////////
    CREDITS GO TO NICKELO =]
    ////////////////////////////////////////////////////////////////--]]--
     
     
    function ShadowKeeper_Arcanebolt(pUnit, Event)
    local boltTarg = pUnit:GetRandomPlayer(0)
    pUnit:FullCastSpellOnTarget(38823, boltTarg)
    end
    function ShadowKeeper_Arcanebomb(pUnit, Event)
    pUnit:CastSpell(19821)
    end
    function ShadowKeeper_Magpull(pUnit, Event)
    local MagpullTarget = pUnit:GetRandomPlayer(7)
    pUnit:FullCastSpellOnTarget(32039, MagpullTarget)
    end
     
    function ShadowKeeper_Phase1(pUnit, Event)
    if pUnit:GetHealthPct() <= 99 then
    pUnit:RegisterEvent("ShadowKeeper_Arcanebolt", 12000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Arcanebomb", 6000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Magpull", 20000, 0)
    end
    end
     
    function ShadowKeeper_Spiribolts(pUnit, Event)
    pUnit:FullCastSpell(43383)
    end
    function ShadowKeeper_Diminishsoul(pUnit, Event)
    local soulTarget = GetRandomPlayer(0)
    pUnit:FullCastSpellOnTarget(38848, soulTarget)
    end
     
     
    function ShadowKeeper_Phase2(pUnit, Event)
    if pUnit:GetHealthPct() <= 75 then
    pUnit:SendChatMessage(5, 0, "The infection... Is making me weak...")
    pUnit:SendChatMessage(5, 0, "Yours souls belong to me now!")
    pUnit:RemoveEvents()
    pUnit:RegisterEvent("ShadowKeeper_Spiritbolts", 60000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Diminishsoul", 5000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Phase3", 1000, 0)
    end
    end
     
     
     
    function ShadowKeeper_Minions(pUnit, Event)
    pUnit:SpawnCreature(1000061, 2233, 2260, 134.875112, 530, 1000000)
    pUnit:SpawnCreature(1000061, 2237, 2220, 136.679474, 530, 1000000)
    end
    function ShadowKeeper_Shield(pUnit, Event)
    pUnit:CastSpell(31901)
    end
    function ShadowKeeper_Aoe(pUnit, Event)
    pUnit:CastSpell(35152)
    end
     
     
    function ShadowKeeper_Phase3(pUnit, Event)
    if pUnit:GetHealthPct() <= 60 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(5, 0, "I feel the power coming back...")
    pUnit:RegisterEvent("ShadowKeeper_Minions", 500, 10)
    pUnit:RegisterEvent("ShadowKeeper_Aoe", 2000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Phase4", 1000, 0)
    end
    end
     
    function ShadowKeeper_ShadowKeeper(pUnit, Event)
    pUnit:CastSpell(30852)
    end
    function ShadowKeeper_Energy(pUnit, Event)
    local energyTarget = pUnit:GetRandomPlayer(7)
    pUnit:FullCastSpellOnTarget(46285, energyTarget)
    end
    function ShadowKeeper_Missiles(pUnit, Event)
    local missileTarget = pUnit:GetRandomPlayer(0)
    pUnit:FullCastSpellOnTarget(38147, missileTarget)
    end
     
     
    function ShadowKeeper_Phase4(pUnit, Event)
    if pUnit:GetHealthPct() <=40 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(5, 0, "The shadows is stronger than ever!")
    pUnit:RegisterEvent("ShadowKeeper_Shadownova", 25000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Energy", 8000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Missiles", 9200, 0)
    pUnit:registerEvent("ShadowKeeper_Phase5", 1000, 0)
    end
    end
     
     
     
    function ShadowKeeper_Felcleave(pUnit, Event)
    local cleaveTarget = pUnit:GetMainTank()
    pUnit:CastSpellOnTarget(38742, cleaveTarget)
    end
    function ShadowKeeper_Dragonbane(pUnit, Event)
    pUnit:CastSpell(23967)
    end
    function ShadowKeeper_Bloodcurse(pUnit, Event)
    local bloodTarget = pUnit:GetMainTank()
    pUnit:FullCastSpellOnTarget(40412, bloodTarget)
    end
     
    function ShadowKeeper_Phase5(pUnit, Event)
    if pUnit:GetHealthPct() <= 20 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(5, 0, "Ahaha this is so much better then your weak magic!")
    pUnit:RegisterEvent("ShadowKeeper_Bloodcurse", 90000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Dragonbane", 10000, 0)
    pUnit:RegisterEvent("ShadowKeeper_Felcleave", 15000, 0)
    end
    end
     
     
    function ShadowKeeper_Oncombat(pUnit, Event)
    pUnit:SendChatMessage(5, 0, "How could of this happened!")
    pUnit:RegisterEvent("ShadowKeeper_Phase1", 1000, 0)
    end
    function ShadowKeeper_WhenKilled(pUnit, Event)
    pUnit:SendChatMessage(5, 0, "I'm sorry Illidan, I have been defeated Forgive me...")
    pUnit:SendChatMessage(5, 0, "I'm lost in the darkness...")
    end
    RegisterUnitEvent(100060, 1, "ShadowKeeper_Oncombat")
    RegisterUnitEvent(100060, 4, "ShadowKeeper_WhenKilled")

    This boss is mostly a caster, does rarely any melee..
    The boss is balanced out.
    the boss has around 5 phases
    Spawns a couple minions after phase 2 and 4
    Doesn't do TO much text.
    Doesn't target Main tank THAT much, does alot on the healers and the main dps.
    Last edited by nickelo; 10-01-2008 at 10:50 PM.
    Database Evolved Developer:wave:

    [RELEASE]LUA scripted boss! &lt;EPIC!&gt;
  2. #2
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Description of the boss fight? Pictures? +Its alot easier to just copy/paste so posting source in the thread is a great idea.

    I live in a shoe

  3. #3
    nickelo's Avatar Active Member
    Reputation
    56
    Join Date
    Aug 2007
    Posts
    463
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay=] ill just c/p it
    Database Evolved Developer:wave:

  4. #4
    Murlock.'s Avatar Knight-Lieutenant
    Reputation
    86
    Join Date
    Oct 2007
    Posts
    271
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you should provide the SQL because it looks like your minions are spawned at a specific place and it could cause problems

  5. #5
    nickelo's Avatar Active Member
    Reputation
    56
    Join Date
    Aug 2007
    Posts
    463
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It wouldn't. Ive tested it with many other NPC's. Just with the same ID.
    Database Evolved Developer:wave:

  6. #6
    Nymphx's Avatar Active Member
    Reputation
    83
    Join Date
    Sep 2008
    Posts
    212
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For me, all he does is spam around 5 Shadow Bolts per second.

  7. #7
    nickelo's Avatar Active Member
    Reputation
    56
    Join Date
    Aug 2007
    Posts
    463
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, you didn't edit it at all?
    Cuz thats not what it does for me.
    Database Evolved Developer:wave:

  8. #8
    Nymphx's Avatar Active Member
    Reputation
    83
    Join Date
    Sep 2008
    Posts
    212
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No editing at all.. Will retry the code.

    EDIT: Heres my result;
    Code:
    bad argument #1 to 'FullCastSpellOnTarget' (Unit expected, got nil)
    Thats the error I get in my Console. I see the script is different in the respect that you use...

    Code:
    function ShadowKeeper_Magpull(pUnit, Event)
    local MagpullTarget = pUnit:GetRandomPlayer(7)
    pUnit:FullCastSpellOnTarget(32039, MagpullTarget)
    end
    instead of:
    Code:
    function Leviathan_Spell3(pUnit,Event)
        pUnit:FullCastSpellOnTarget(15330,pUnit:GetClosestPlayer())
    end
    That last code is part of a working script I made.
    Last edited by Nymphx; 10-04-2008 at 03:04 PM.

  9. #9
    warxhead's Avatar Member
    Reputation
    13
    Join Date
    Jan 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol, you are using specific locations to spawn mobs, so... You fail at Lua.

Similar Threads

  1. [Release] Eldina, Mistress of the Light [LUA Scripted Boss]
    By The [Bapes] in forum WoW EMU General Releases
    Replies: 3
    Last Post: 08-30-2008, 12:56 PM
  2. Replies: 9
    Last Post: 06-19-2008, 03:55 AM
  3. [Release] Lua scripts, The ultimative thread v1
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-26-2008, 10:28 AM
  4. [Release] Custom Scripted Boss Fight: Your Mom
    By dude891 in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 04-13-2008, 08:08 PM
  5. [Request] I need some help with lua script (boss on death)
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 03-03-2008, 03:47 PM
All times are GMT -5. The time now is 09:07 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