[RELEASE] LUA Bossfight menu

User Tag List

Results 1 to 13 of 13
  1. #1
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [RELEASE] LUA Bossfight

    Here's a little script i've been working on. Decided to share with mmowned.

    Code:
    --[[ Shao - Bear.lua
    
    Bear LUA script
    
    Goes best with NPC DisplayID-21631 (But your free to do with it as you wish. =P)
    
    Outline of the fight: ( [#] = Phase number )
    [1]-90%-morphs into bear, increasing in size. Also, starts cleave.
    [2]-77%-morphs into original self. Casts Maul.
    [3]-60%-Morphs to Dragon form. Stuns Main agro every 7 secs. Stun is resistable.
    [4]-37%-Casts berserking on slef and grows in size.
    [5]-20%-Casts Enrage buff that stacks with berserking, also, casts "Ground rupture" (1-4k+knockback). Again, increases in size.
    -- By Shao ]]
    
    
    
    -- 
    -- BEGIN SCRIPT FOR Bear
    --
    
    
    function Bear_Swipe(Unit)
        Unit:CastSpell(20605)
    end
    
    function Bear_Maul(Unit)
        Unit:CastSpell(26996)
    end
    
    function Bear_Stun(Unit)
        Unit:CastSpell(31755)
    end
    
    function Bear_Rage(Unit)
        Unit:CastSpell(24378)
    end
    
    
    function Bear_Final(Unit)
        Unit:CastSpell(14204)
        Unit:CastSpell(26478)
    end
    
    
    
    function Bear_Phase1(Unit, event)
        if Unit:GetHealthPct() < 90 then
            Unit:RemoveEvents()
            Unit:SendChatMessage(11, 0, "How dare you challenge me!")
            Unit:SetModel(762)
            Unit:SetScale(4)
            Unit:CastSpell(41232)
            Unit:RegisterEvent("Bear_Swipe",7500, 0)
            Unit:RegisterEvent("Bear_Phase2",1000, 0)
        end
    end
    
    
    function Bear_Phase2(Unit, event)
        if Unit:GetHealthPct() < 77 then
            Unit:RemoveEvents()
            Unit:SetModel(21631)
            Unit:SetScale(1.5)
            Unit:CastSpell(41232)
            Unit:RegisterEvent("Bear_Maul",8000, 0)
            Unit:RegisterEvent("Bear_Phase3",1000, 0)
        end
    end
    
    
    function Bear_Phase3(Unit, event)
        if Unit:GetHealthPct() < 60 then
            Unit:RemoveEvents()
            Unit:SendChatMessage(12, 0, "Time to DIE!")
            Unit:SetModel(21633)
            Unit:SetScale(2)
            Unit:CastSpell(41232)
            Unit:RegisterEvent("Bear_Stun",7500, 0)
            Unit:RegisterEvent("Bear_Phase4",1000, 0)
        end
    end
    
    function Bear_Phase4(Unit, event)
        if Unit:GetHealthPct() <= 37 then
            Unit:RemoveEvents()
            Unit:SetScale(2.5)
            Unit:SetModel(21633)
            Unit:CastSpell(41232)
            Unit:SendChatMessage(12, 0, "RAAAAWWWWWRRRRR!!!")
            Unit:RegisterEvent("Bear_Rage",8000, 0)
            Unit:RegisterEvent("Bear_Phase5", 1000, 0)
        end
    end
    
    
    function Bear_Phase5(Unit, event)
        if Unit:GetHealthPct() <= 20 then
            Unit:RemoveEvents()
            Unit:SendChatMessage(12, 0, "Nature's fury shall consume you!")
            Unit:SetScale(3)
            Unit:CastSpell(41232)
            Unit:RegisterEvent("Bear_Final",7000, 0)
        end
    end
    
    function Bear_OnCombat(Unit, event)
        Unit:SendChatMessage(11, 0, "Grrrr... You have awaken me from my slumber!")
        Unit:RegisterEvent("Bear_Phase1",1000, 0)
        Unit:RegisterEvent("Bear_Phase2",1000, 0)
        Unit:RegisterEvent("Bear_Phase3",1000, 0)
        Unit:RegisterEvent("Bear_Phase4",1000, 0)
        Unit:RegisterEvent("Bear_Phase5",1000, 0)
    end
    
    
    function Bear_OnLeaveCombat(Unit, event)
        Unit:RemoveEvents()
        Unit:SendChatMessage(11, 0, "MUUUAAAAHAHAHAHAHAHAHAHA!")
        Unit:SetScale(1)
        Unit:SetModel(21631)
    end
    
    
    function Bear_OnKilledTarget(Unit)
        Unit:SendChatMessage(11, 0, "Let that be a lesson!")
        Unit:CastSpell(36981)
    end
    
    
    function Bear_Death(Unit)
        Unit:SendChatMessage(12, 0, "Ohh... this is.. the wrong way to... die...")
        Unit:RemoveEvents()
        Unit:SetScale(1)
        Unit:SetModel(21631)
    end
    
    RegisterUnitEvent(200001, 1, "Bear_OnCombat")
    RegisterUnitEvent(200001, 2, "Bear_OnLeaveCombat")
    RegisterUnitEvent(200001, 3, "Bear_OnKilledTarget")
    RegisterUnitEvent(200001, 4, "Bear_Death")
    (Still need to create NPC with entryID 200001, or change 200001 to an existing mobs entryID.)

    Credits to Gastric for his L33T Lua Guides.

    Screens of the fight:
    http://i53.photobucket.com/albums/g6...earBossOOC.jpg
    http://i53.photobucket.com/albums/g6...nterCombat.jpg
    http://i53.photobucket.com/albums/g6...BossPhase1.jpg
    http://i53.photobucket.com/albums/g6...BossPhase2.jpg
    http://i53.photobucket.com/albums/g6...BossPhase3.jpg
    http://i53.photobucket.com/albums/g6...BossPhase4.jpg
    http://i53.photobucket.com/albums/g6...BossPhase5.jpg
    http://i53.photobucket.com/albums/g6...ossOnDeath.jpg



    EDIT: If i can get a little feedback, i will continue to release them as i finish them.

    Hope someone enjoys!
    Last edited by Shao111; 01-16-2008 at 09:49 PM. Reason: Obv

    [RELEASE] LUA Bossfight
  2. #2
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice do you have a Pictures? or maybe a Video, so we could check it out?

  3. #3
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Will post pics first thing after work , Fraps has been giving me problems recently
    Last edited by Shao111; 01-16-2008 at 09:03 PM.

  4. #4
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /bump, updated with screens

  5. #5
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice job mate , +Rep x8

  6. #6
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ty much =)

  7. #7
    beltic's Avatar Member
    Reputation
    9
    Join Date
    May 2007
    Posts
    127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looks good. gonna give it a try..

  8. #8
    zysus's Avatar Member
    Reputation
    5
    Join Date
    Jun 2007
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looks good

  9. #9
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /bump, released late, would like more of the communities feedback. (If many like, I may open a "Lua Boss Shop")

  10. #10
    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)
    JUST OPEN THE SHOP FFS!! xD +rep

  11. #11
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice +rep.
    Cheese Cake?

  12. #12
    Shao111's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2007
    Posts
    281
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice, i'm in the middle of moving atm. Expect more info in the next week or so.

  13. #13
    Spartansp's Avatar Account not activated by Email
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice shao keep on the good work

Similar Threads

  1. [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
  2. [Release][LUA][SQL] Selin Fireheart
    By sheepking in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 05-11-2008, 11:40 AM
  3. [Release Lua] One of My First Lua Scripts
    By Juicyz in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-28-2008, 02:03 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
  5. [Guide] Creating a LUA bossfight!
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 54
    Last Post: 03-01-2008, 09:55 PM
All times are GMT -5. The time now is 10:00 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