Help With Boss Script menu

User Tag List

Results 1 to 2 of 2
  1. #1
    DragenFear's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help With Boss Script

    Im learning lua scripting and have been working on a boss

    i cant get the spells working right though
    this is latest fix but i cant test it yet
    Plz be gentle as i am total newb at this and started only 2 days ago
    Code:
    function Carogon_OnCombat(Unit, Event) 
    Unit:SendChatMessage(12, 0, "Ahh Somthing Tastier Than These Gnarlpine")
    Unit:RegisterEvent("Carogon_SoulBurn", 35000, 0)
    Unit:RegisterEvent("Carogon_Thundercloud", 30000, 0)
    Unit:RegisterEvent("Carogon_Fear", 18000, 0)
    Unit:RegisterEvent("Carogon_Demonarmor", 15000, 0)
    Unit:RegisterEvent("Carogon_Pull", 85000, 0)
    Unit:RegisterEvent("Carogon_FrostVolly", 20000, 0)
    Unit:RegisterEvent("Carogon_Chill", 13000, 0)
    Unit:RegisterEvent("Carogon_Morph",1000,1)
    end
    
    function Carogon_SoulBurn(pUnit, Event) 
    pUnit:CastSpell(19393, pUnit:GetClosestPlayer(0))
    end
    
    function Carogon_Thundercloud(pUnit, Event) 
    pUnit:CastSpell(39580) 
    end
    
    function Carogon_Fear(pUnit, Event) 
    pUnit:FullCastSpellOnTarget(26661, pUnit:GetClosestPlayer(0))
    end
    
    function Carogon_Demonarmor(pUnit, Event) 
    pUnit:CastSpell(31901) 
    end
    
    function Carogon_Pull(pUnit, Event) 
    pUnit:CastSpell(29979, pUnit:GetRandomPlayer(0)) 
    end
    
    function Carogon_FrostVolly(pUnit, Event) 
    pUnit:FullCastSpellOnTarget(38837, pUnit:GetClosestPlayer(0))
    end
    
    function Carogon_Chill(pUnit, Event) 
    pUnit:CastSpellOnTarget(21098, pUnit:GetClosestPlayer(0))
    end
    
    function Carogon_Nova(pUnit, Event) 
    pUnit:CastSpell(38627) 
    end
    
    function Carogon_Firevolley(pUnit, Event) 
    pUnit:CastSpell(29922) 
    end
    
    function Carogon_BurnStun(pUnit, Event) 
    pUnit:FullCastSpellOnTarget(17293, pUnit:GetClosestPlayer(0))
    end
    
    function Carogon_Aurburn(pUnit, Event) 
    pUnit:CastSpell(30522) 
    end
    
    function Carogon_SoulBurner(pUnit, Event) 
    pUnit:CastSpell(19393, pUnit:GetClosestPlayer(0))
    end
    
    function carogon_heal(pUnit, Event) 
    pUnit:CastSpell(17683) 
    end
    
    function Carogon_Morph(pUnit, Event) 
    if pUnit:GetHealthPct() < 20 then 
    pUnit:RemoveEvents(); 
    pUnit:SendChatMessage(12,0, "I WILL NOT BE KILLED BY SUCH WEAK MORTALS")
    pUnit:FullCastSpell(36467)
    pUnit:SetModel(10193)
    pUnit:RegisterEvent("Carogon_Nova", 10000, 1)
    pUnit:RegisterEvent("Carogon_Firevolley", 20000, 0)
    pUnit:RegisterEvent("Carogon_BurnStun", 27000, 0)
    pUnit:RegisterEvent("Carogon_Aurburn", 1000, 0)
    pUnit:RegisterEvent("Carogon_Nova", 25000, 0)
    pUnit:RegisterEvent("Carogon_SoulBurner", 15000, 0)
    Unit:RegisterEvent("carogon_heal", 2000, 1)
    end 
    end
    
    function Carogon_OnLeaveCombat(Unit, Event) 
    Unit:RemoveEvents() 
    pUnit:SetModel(15879) 
    end
    
    function Carogon_OnDied(Unit, Event) 
    Unit:RemoveEvents() 
    Unit:SendChatMessage(12, 0, "NO THIS CANT BE I WILL NOT BELIVE IT SALIANA SAVE ME") 
    end
    
    function Carogon_OnKilledTarget(Unit, Event) 
    Unit:SendChatMessage(12, 0, "HA YOU THOUGH YOU COULD KILL ME") 
    end
    
    RegisterUnitEvent(510030, 1, "Carogon_OnCombat")
    RegisterUnitEvent(510030, 2, "Carogon_OnLeaveCombat")
    RegisterUnitEvent(510030, 3, "Carogon_OnKilledTarget")
    RegisterUnitEvent(510030, 4, "Carogon_OnDied")
    main problems are frost volley, fire volley, fear, pull, burn stun, auraburn and chill dont cast and soul burn was hiting himself
    anyt suggestions?
    btw i changed the soulburn from fullcastontarget to castspell in hopes it would trget proper then
    and he also yends to repeat his enter combat phrase quite a bit as well
    So can yall help me?

    Help With Boss Script
  2. #2
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well dont pop back between Punit and Unit.. Pick one.. secondly.. if it simply says Castspell on the lines with those spells hell cast them on himself.. use Getclosest or Getrandom instead

Similar Threads

  1. [Lua Script] Need help with Boss Script
    By modmassacre in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 03-04-2014, 10:55 PM
  2. [Lua Script] need help with boss script
    By bellios in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 12-09-2010, 03:10 PM
  3. [Lua Script] Need help with 2 Scripts (One Boss, One Gauntlet)
    By controlsx2 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-22-2010, 02:42 AM
  4. [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
  5. [C++]Need help with my Scripted Item
    By freezer1012 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 01-13-2008, 05:55 PM
All times are GMT -5. The time now is 07:56 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