[LUA] CoT Entrance Dragon Script Trick menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Dpsfraud's Avatar Active Member
    Reputation
    15
    Join Date
    Feb 2007
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LUA] CoT Entrance Dragon Script Trick

    Heres what we want to do:
    1. Let the server know when the dragon gets to 50% HP or below
    2. Making the dragon's faction change, and stop him from attacking people. (so no one can attack him directly back)
    3. Lastly, we want him to have a smooth exit to fit the timeline, as we call it!

    Final Product:
    Code:
     
    function Dragonboss_Phase3(Unit, Event)
        if Unit:GetHealthPct() < 50 then
        Unit:RemoveEvents()
        Unit:RegisterEvent("Dragonboss_Faction", 1000, 1)
        end
    end
     
    function Dragonboss_Faction(Unit, Event)
        Unit:SetFaction(35)
        Unit:SetCombatCapable(1)
        Unit:RegisterEvent("Dragonboss_Say", 2000, 1)
        Unit:RegisterEvent("Dragonboss_HP", 100, 999999999999)
    end
     
    function Dragonboss_HP(Unit, Event)
        Unit:SetHealthPct(50)
    end
     
    function Dragonboss_Say(Unit, Event)
        Unit:SendChatMessage(12, 0, "You bunch of fools.. This means NOTHING!")
        Unit:RegisterEvent("Dragonboss_Yell", 3000, 1)
    end
     
    function Dragonboss_Yell(Unit, Event)
        Unit:SendChatMessage(12, 0, "THIS IS WILL NOT BE THE LAST!!!")
        Unit:RegisterEvent("Dragonboss_Despawn", 1000, 1)
    end
     
    function Dragonboss_Despawn(Unit, Event)
        Unit:CastSpell(12980)
        Unit:Despawn(1200,480000)
    end
    Alright now lets break it down:
    When the Dragon's health drops to 50% or lower, it calls the event which changes his faction, disallowing him to be attacked, the event also stops him from attacking other people, every millisecond the dragon's health is set to 50% because of autoswing, (when the faction changes it doesnt stop your autoswing!) this will stop him from dieing! After 2 seconds, the event calls a new event, this event forces him to speak (Nothing special here..). 3 Seconds after he speaks, he will yell out (Also nothing special here!). 1 Second after he yells out, it will call a new event called Despawn, the reason for this is that it gives an effect as though he is teleporting away somewhere safe!
    The spell id 12980 is a teleport effect, when cast it seems as if you are disappearing or appearing (just like inside manatombs when you start that escort, npcs jump out of the portal!). He casts the teleport effect and 1.2 seconds later, he vanishes.

    And thats that. *dusts hands off*

    [LUA] CoT Entrance Dragon Script Trick
  2. #2
    runemaster's Avatar Banned
    Reputation
    25
    Join Date
    Dec 2007
    Posts
    291
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks again

    keep up the badass-ness

  3. #3
    runiker's Avatar Contributor
    Reputation
    105
    Join Date
    Nov 2007
    Posts
    501
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i like most of your guides but this one is cunfusing...

  4. #4
    blind999's Avatar Member
    Reputation
    4
    Join Date
    Jan 2008
    Posts
    46
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats really really cool

  5. #5
    ApexEmu's Avatar Banned
    Reputation
    5
    Join Date
    Oct 2008
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by runiker View Post
    ok i like most of your guides but this one is cunfusing...
    Lua is never confusing.

Similar Threads

  1. [Guide]More LUA ascent 2.3 scripts
    By Pragma in forum WoW EMU Guides & Tutorials
    Replies: 27
    Last Post: 04-10-2008, 01:06 PM
  2. [Help] New to LUA, Need help with script.
    By nickelo in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 03-14-2008, 11:23 PM
  3. [Help] i need Lua help with this script...
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 25
    Last Post: 03-03-2008, 03:45 PM
  4. [Request] Blue Windrider > CoT Bronze Dragon
    By H4x0r in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 10-03-2007, 05:59 PM
  5. Get into CoT "middle dragon"
    By KuRIoS in forum World of Warcraft Exploration
    Replies: 7
    Last Post: 04-04-2007, 11:06 AM
All times are GMT -5. The time now is 02:18 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