[Lua]Boss phases not working, NEED PRO HELP!! menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    blah7's Avatar Member
    Reputation
    6
    Join Date
    Aug 2006
    Posts
    59
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua]Boss phases not working, NEED PRO HELP!!

    Ok i decided to make a new thread because the old one was filled with diffrent versions that didn't work... basically here is the problem....

    My boss REFUSES to enter phase 2... He will NOT change models at ALL..... if you see anything else wrong with the script feel free to tell me and correct it. I really need help guys. Here is the script


    function LordThanatos_AvatarofFlame(Unit)
    Unit:CastSpell(15636)
    Unit:SendChatMessage(12, 0, "YOU THINK YOU CAN KILL ME!?")
    end

    function LordThanatos_ShadowNova(Unit)
    Unit:CastSpell(30852)
    end

    function LordThanatos_Frostbolt(Unit, event, miscunit, misc)
    Unit:CastSpell(2847
    end

    function LordThanatos_Blizzard(Unit)
    Unit:CastSpell(41482)
    end

    function LordThanatos_ShadowVolley(Unit)
    Unit:CastSpell(32963)
    end


    function LordThanatos_Carrion(Unit)
    Unit:CastSpell(34240)
    end


    function LordThanatos_Sleep(Unit)
    Unit:CastSpellonTarget(31541)
    end


    function LordThanatos_Infernal(Unit)
    Unit:CastSpell(31299)
    end




    function LordThanatos_Phase1(Unit, event)
    if Unit:GetHealthPct() < 80 then
    Unit:SendChatMessage(12, 0, "YOU THINK YOU CAN KILL ME!?")
    Unit:SetModel(11072)
    Unit:SetScale(8.1)
    Unit:CastSpell(15636)
    Unit:RegisterEvent("LordThanatos_AvatarofFlame",180000, 0)
    Unit:RegisterEvent("LordThanatos_ShadowNova",40000, 0)
    Unit:RegisterEvent("LordThanatos_Frostbolt",35000, 0)
    Unit:RegisterEvent("LordThanatos_Blizzard",183000, 0)
    Unit:RegisterEvent("LordThanatos_ShadowVolley",25000, 0)
    Unit:RegisterEvent("LordThanatos_Phase2",1000, 0)
    end
    end



    function LordThanatos_Phase2(Unit, event)
    if Unit:GetHealthPct() < 50 then
    Unit:RemoveEvents()
    Unit:SendchatMessage(11, 0, "Your hopes are pathetic, YOU CAN NEVER KILL DEATH!!")
    Unit:SetModel(21069)
    Unit:SetScale(3)
    Unit:CastSpell(41232)
    Unit:RegisterEvent("LordThanatos_Carrion",15000, 0)
    Unit:RegisterEvent("LordThanatos_Sleep",35000, 0)
    Unit:RegisterEvent("LordThanatos_Infernal",50000, 0)
    end
    end




    function LordThanatos_OnCombat(Unit, event)
    Unit:SendChatMessage(11, 0, "What have we here!")
    Unit:RegisterEvent("LordThanatos_Phase1",1000, 0)

    end

    function LordThanatos_OnLeaveCombat(Unit, event)
    Unit:RemoveEvents()
    Unit:SendChatMessage(11, 0, "MUUUAAAAHAHAHAHAHAHAHAHA!")
    Unit:SetScale(
    Unit:SetModel(11072)
    end

    function LordThanatos_OnKilledTarget(Unit)
    Unit:SendChatMessage(11, 0, "You'll Serve well in my army! HAHAHA!!")
    Unit:CastSpell(36981)
    end

    function LordThanatos_Death(Unit)
    Unit:SendChatMessage(11, 0, "Death.... is only the beginning....")
    Unit:RemoveEvents()
    Unit:SetScale(
    Unit:SetModel(11072)
    end

    RegisterUnitEvent(101010, 1, "LordThanatos_OnCombat")
    RegisterUnitEvent(101010, 2, "LordThanatos_OnLeaveCombat")
    RegisterUnitEvent(101010, 3, "LordThanatos_OnKilledTarget")
    RegisterUnitEvent(101010, 4, "LordThanatos_Death")


    [Lua]Boss phases not working, NEED PRO HELP!!
  2. #2
    Nick0016's Avatar Member
    Reputation
    9
    Join Date
    Jan 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hehe, I will test the script aftermoon and report back to you

  3. #3
    blah7's Avatar Member
    Reputation
    6
    Join Date
    Aug 2006
    Posts
    59
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any news guys?

  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)
    Gonna test this, will get back with you if I figure it out.

  5. #5
    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)
    Ok, worked fine with the following changes:

    Code:
    function LordThanatos_Phase1(pUnit, event)
    if pUnit:GetHealthPct() < 80 then
    pUnit:SendChatMessage(12, 0, "YOU THINK YOU CAN KILL ME!?")
    pUnit:SetModel(11072)
    pUnit:SetScale(8.1)
    pUnit:CastSpell(15636)
    pUnit:RegisterEvent("LordThanatos_AvatarofFlame",180000, 0)
    pUnit:RegisterEvent("LordThanatos_ShadowNova",40000, 0)
    pUnit:RegisterEvent("LordThanatos_Frostbolt",35000, 0)
    pUnit:RegisterEvent("LordThanatos_Blizzard",183000, 0)
    pUnit:RegisterEvent("LordThanatos_ShadowVolley",25000, 0)
    pUnit:RegisterEvent("LordThanatos_Phase2",1000, 0)
    end
    end
    
    
    
    function LordThanatos_Phase2(pUnit, event)
    if pUnit:GetHealthPct() < 50 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(11, 0, "Your hopes are pathetic, YOU CAN NEVER KILL DEATH!!")
    pUnit:SetModel(21069)
    pUnit:SetScale(3)
    pUnit:CastSpell(41232)
    pUnit:RegisterEvent("LordThanatos_Carrion",15000, 0)
    pUnit:RegisterEvent("LordThanatos_Sleep",35000, 0)
    pUnit:RegisterEvent("LordThanatos_Infernal",50000, 0)
    end
    end
    
    
    
    
    function LordThanatos_OnCombat(pUnit, event)
    pUnit:SendChatMessage(11, 0, "What have we here!")
    pUnit:RegisterEvent("LordThanatos_Phase1",1000, 0)
    
    end
    Changing (Unit, event) to (pUnit, event) and Unit to pUnit. Throughout the above code.

    The chat spam in phase 1 is because you have it in both the AvatarofFlame and phase1 functions. Hope this helps.
    Last edited by Shao111; 01-23-2008 at 02:33 PM.

Similar Threads

  1. Honorbuddy not working! , Need help :)
    By blodyclan96 in forum World of Warcraft General
    Replies: 7
    Last Post: 11-01-2012, 08:49 AM
  2. [Lua Script] Big lua boss script not working
    By tyeeeee1 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 08-17-2010, 01:45 PM
  3. Replies: 8
    Last Post: 01-06-2009, 06:08 PM
  4. [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
  5. Simple Lua Script , not working need help!
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 12-30-2007, 02:06 PM
All times are GMT -5. The time now is 10:24 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