[Release] Dragon boss lua script menu

Shout-Out

User Tag List

Results 1 to 13 of 13
  1. #1
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] Dragon boss lua script

    This is a script I made for the server I played on for a boss in this maze, and I decided to release it to you guys. It's pretty long but not the advanced, I didn't spend much time on it but here it is anyways
    Code:
    function mazeboss_p1(pUnit, Event)
     if pUnit:GetHealthPct() < 90 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Burn in hell!")
      pUnit:FullCastSpell(19630)
      pUnit:RegisterEvent("mazeboss_p2",1000, 0)
     end
    end
     
    function mazeboss_p2(pUnit, Event)
     if pUnit:GetHealthPct() < 80 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Face my fire again!")
      pUnit:FullCastSpell(19630)
      pUnit:RegisterEvent("mazeboss_p3",1000, 0)
     end
    end
     
    function mazeboss_p3(pUnit, Event)
     if pUnit:GetHealthPct() < 72 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "You have yet to face my full power")
      pUnit:FullCastSpell(34660)
      pUnit:RegisterEvent("mazeboss_p4",1000, 0)
     end
    end
    
    function mazeboss_p4(pUnit, Event)
     if pUnit:GetHealthPct() < 60 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Nothing may harm me!")
      pUnit:FullCastSpell(39666)
      pUnit:RegisterEvent("mazeboss_p5",1000, 0)
     end
    end
    
    function mazeboss_p5(pUnit, Event)
     if pUnit:GetHealthPct() < 50 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Fire power!")
      pUnit:FullCastSpell(38836)
      pUnit:RegisterEvent("mazeboss_p6",1000, 0)
     end
    end
    
    function mazeboss_p6(pUnit, Event)
     if pUnit:GetHealthPct() < 35 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "You have resisted my fire powers... but not my shadow!")
      pUnit:FullCastSpell(38840)
      pUnit:RegisterEvent("mazeboss_p7",1000, 0)
     end
    end
    
    function mazeboss_p7(pUnit, Event)
     if pUnit:GetHealthPct() < 20 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Shadow Nova!!")
      pUnit:FullCastSpell(30852)
      pUnit:RegisterEvent("mazeboss_p8",1000, 0)
     end
    end
    
    function mazeboss_p8(pUnit, Event)
     if pUnit:GetHealthPct() < 7 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "I will not die!")
      pUnit:FullCastSpell(17683)
      pUnit:RegisterEvent("mazeboss_p9",1000, 0)
     end
    end
    
    function mazeboss_p9(pUnit, Event)
     if pUnit:GetHealthPct() < 90 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "You will die slowly!")
      pUnit:FullCastSpell(33129)
      pUnit:RegisterEvent("mazeboss_p10",1000, 0)
     end
    end
    
    function mazeboss_p10(pUnit, Event)
     if pUnit:GetHealthPct() < 60 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Rise minions!")
      pUnit:FullCastSpell(41948)
      pUnit:FullCastSpell(41948)
      pUnit:FullCastSpell(41948)
      pUnit:RegisterEvent("mazeboss_p11",1000, 0)
     end
    end
    
    
    function mazeboss_p11(pUnit, Event)
     if pUnit:GetHealthPct() < 30 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Run in fear!")
      pUnit:FullCastSpell(39048)
      pUnit:RegisterEvent("mazeboss_p12",1000, 0)
     end
    end
    
    
    function mazeboss_p12(pUnit, Event)
     if pUnit:GetHealthPct() < 10 then
      pUnit:RemoveEvents();
      pUnit:SendChatMessage (12, 0, "Nooo!")
      pUnit:FullCastSpell(34659)
     end
    end
    
    function mazeboss_start(pUnit, Event)
     pUnit:RegisterEvent("mazeboss_p1",1000, 0)
     pUnit:SendChatMessage (12, 0, "Insolent fool! You dare come into my domain?")
    end
    
    RegisterUnitEvent(Insert spawn ID here, 1, "mazeboss_start")
    Well that's it, once again, this isn't really a major release, I made a simple lua and decided to give it to you guys. I used a black dragon so it also looks like a shadow dragon, thats why theres a shadow phase.

    Well there you go
    Last edited by Lich King; 04-18-2008 at 08:01 PM.

    [Release] Dragon boss lua script
  2. #2
    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)
    Not bad, but wow... 12 phases?! Your maze must have some pretty "3p1c l3w7" or "Epic loot" in English

    +Rep

  3. #3
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had some time, so I decided to make it long, I was going to make it like 18 phases but I decided to make less phases after he healed himself because then it would take forever for the fight

  4. #4
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    BTW thanks for the rep

  5. #5
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice, Super long.... i would hate to fight him the very first time wouldnt know what to expect.... +rep

  6. #6
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol ya, thanks for the rep

  7. #7
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    np is the model the Dragonshade thign?

  8. #8
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I forget but the display ID is 15380 if you want

  9. #9
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah i know that one

  10. #10
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bumpity bump bump

  11. #11
    bsyburra's Avatar Active Member
    Reputation
    21
    Join Date
    Jan 2008
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey how do u add scripts im new on scripts

  12. #12
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bsyburra View Post
    hey how do u add scripts im new on scripts

    Go to your ascent folder and make a folder called scripts and put the script in there.. copy-paste into a notepad and save it as name.lua

    If there is already a script folder just put it in that one


    Here is a guide for alot of things thats probably useful for you. For example. How to enable lua! http://www.mmowned.com/forums/emulat...look-here.html
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  13. #13
    taryon's Avatar Member
    Reputation
    15
    Join Date
    Feb 2008
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yay nice~ pretty col

    +Rep People who help you!!

Similar Threads

  1. Boss Lua Script Need help
    By David2222 in forum World of Warcraft General
    Replies: 0
    Last Post: 01-25-2009, 04:22 PM
  2. [RELEASE] Yet another Lua script
    By Zaeran in forum WoW EMU General Releases
    Replies: 8
    Last Post: 12-06-2008, 09:12 PM
  3. [Release] Dragon Boss "Enyxia"
    By glurpie123321 in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 07-14-2008, 04:20 AM
  4. [Release]Shamankings/Pedregons Lua Scripts
    By Pedregon in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-15-2008, 11:56 AM
  5. [Release] A few lua scripts
    By Lich King in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 03-31-2008, 08:27 PM
All times are GMT -5. The time now is 02:36 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search