[Release] King Murloc LUA Script!

Results 1 to 10 of 10
  1. #1
    Apprentice emil94 is offline
    MemberRank
    Mar 2008 Join Date
    17Posts

    [Release] King Murloc LUA Script!

    Hello , i had nothing to do so i made this small boss fight.. This is only the lua file.. You will hafto make the monster by yourself wich isnt so hard..

    How to setup this:
    1: Open Up Notepad.

    2:Copy and Paste the code

    3:Save As .LUA

    4:Place the .LUA file in your LUA Directory in ascent. It might work also if you place it in the script folder in ascent. NOT Script_Bin!! , If you dont have an Script folder then just make one an name it "scripts".

    5: Create the monster , Make the monster in ADE program or by Navicat/Sql Yogh or whatever. Most importent of all is that you use this ID : 99999 or else this wont work.


    And you are done!


    Info about this Boss Event :

    This is an Murloc Boss .. So when you do the monster name it "King Murloc" .
    There are 4 Pages :

    First one at 75% Health he will change hies scale to 2 , And do an WhirlWind that crits arround 3000. Load time : Arround 10 secs

    Second one at 50% He will change hies scale to 3 ,And charge someone. Load time : Arround 10 secs

    Third one at 25% He will change hies scale to 4 , And start loading an AoE that crits arround 11000 so watchout!. Load time : arround 10 secs

    Fourth one at 0% (when he is dead) he will change his scale to 1 again.

    And under the Combat he will do Pyroblasts 8 times , and they crits kinda hard. He will also do shadowbolts 8 times.



    Some tip about how the monster could be :

    Entry : 99999 (Have to be that orelse the fight wont work!)
    DisplayID: 21723 , Wich is the murloc custome
    Level : Arround 70
    Faction : 18 wich is some Murloc faction.
    Health : High! 50.000 ? Maby More??
    Mana : He needs mana becuse many spells he uses needs mana. Maby 70.000?
    Scale : 1 Ofc , He will scale up in the pages.
    Attacktime: 1600 ?
    Mindamage : 1000 ?
    Maxdamage : 4000 ?
    Armor : 15.000 or more dunno how high
    Fire Resistance : 150?
    Frost Resistance : 100??
    Nature Resistance : 100?
    Arcane Resistance : 80?
    Holy Resistance : 80 ?
    Shadow Resistance : 150?
    Make him boss (??)
    Note that this is just an tip.


    -----------------------------------------------------------------------------------------------------------
    Code:
    function Murloc_Check1 (pUnit, Event)
         if pUnit:GetHealthPct() < 75 then
            pUnit:SendChatMessage (12, 0,"WHO DO YOU THINK YOU ARE?!")
            pUnit:SetScale (2)
            pUnit:CastSpellOnTarget(41195, pUnit:GetRandomPlayer(0))
    end
    
    function Murloc_Check2 (pUnit, Event)
         if pUnit:GetHealthPct() < 50 then
            pUnit:SendChatMessage (12, 0,"I AM THE MURLOC KING FEAR MEEEE!")
            pUnit:SetScale (3)
            pUnit:CastSpellOnTarget(38907, pUnit:GetRandomPlayer(4))
    end
    
    function Murloc_Check3 (pUnit, Event)
         if pUnit:GetHealthPct() < 25 then
            pUnit:SendChatMessage (12, 0,"YOU GUYS ARE STRONGER THEN I THOUGHT I WILL HAFTO IMPROVISE!")
            pUnit:SetScale (4)
            pUnit:CastSpellOnTarget(29973, pUnit:GetRandomPlayer(0))
    end
    
            
    function Murloc_OnCombat (pUnit, Event)
            Unit:RegisterEvent("Murloc_Shadowbolt", 6000, 8)
            Unit:RegisterEvent("Murloc_Pyroblast" , 7000, 8)
            Unit:RegisterEvent("Murloc_Check1", 10000, 1)
            Unit:RegisterEvent("Murloc_Check2", 10000, 1)
            Unit:RegisterEvent("Murloc_Check3", 10000, 1)
    end
    
    function Murloc_Shadowbolt (pUnit, Event)
            pUnit:CastSpellOnTarget  (11661, pUnit:GetRandomPlayer(0))
    end
    
    function Murloc_Pyroblast (pUnit, Event)
            pUnit:CastSpellOnTarget (33938, pUnit:GetClosestPlayer())
    end
    
    function Murloc_OnLeaveCombat (pUnit, Event)
            pUnit:SendChatMessage (12, 0,"Thats What I Thought HAHAHAH!")
    end
    
    function Murloc_OnDied (pUnit, Event)
         if pUnit:SetScale (1) 
            pUnit:SendChatMessage (12, 0,"REEEEVENGE MEEEEE!")
    end
    
    function Murloc_OnKilledTarget (pUnit, Event)
            pUnit:SendchatMessage (12, 0,"DEAD!")
    end
    
    function Murloc_OnDied (Unit, Event)
    Unit:RemoveEvents()
    Unit:RegisterEvent("Murloc_OnDied")
    end
    
    function Murloc_OnKilledTarget (Unit, Event)
    Unit:RegisterEvent("Murloc_OnKilledTarget")
    end
    
    function Murloc_OnLeaveCombat (Unit, Event)
    Unit:RegisterEvent("Murloc_OnLeaveCombat")
    Unit:RemoveEvents()
    end
    
    RegisterUnitEvent(99999, 1, "Murloc_OnCombat")
    RegisterUnitEvent(99999, 2, "Murloc_OnLeaveCombat")
    RegisterUnitEvent(99999, 3, "Murloc_OnKilledTarget")
    RegisterUnitEvent(99999, 4, "Murloc_OnDied")
    ENJOJ!
    Last edited by emil94; 12-07-08 at 08:56 PM.


  2. #2
    Enthusiast wowcheetah99 is offline
    MemberRank
    Mar 2008 Join Date
    DenmarkLocation
    34Posts

    Re: [Release] King Murloc LUA Script!

    It works great on my server.

  3. #3
    Apprentice emil94 is offline
    MemberRank
    Mar 2008 Join Date
    17Posts

    Re: [Release] King Murloc LUA Script!

    Great thank you for telling that too , BTW i have updated the script so please try the new one too

  4. #4
    Enthusiast proskater123 is offline
    MemberRank
    Feb 2008 Join Date
    IndianaLocation
    36Posts

    Re: [Release] King Murloc LUA Script!

    this might be a noob question where does he spawn?

  5. #5
    Account Upgraded | Title Enabled! jordanmckeag is offline
    MemberRank
    Jan 2008 Join Date
    318Posts

    Re: [Release] King Murloc LUA Script!

    Dam leacher this was brought out on mmowned leacher burn in hell

  6. #6
    Valued Member kuraria is offline
    MemberRank
    Jun 2008 Join Date
    101Posts

    Re: [Release] King Murloc LUA Script!

    Quote Originally Posted by jordanmckeag View Post
    Damn leecher this was brought out on mmowned leecher burn in hell
    please don't go around just flaming people and if it's from another board please link to the post on the other board? I know it's easy to flame people if someone takes credit for something someone else did (dunno if this is the case here or not) but doing so really doesn't solve anything and flame wars are just wastes of post space

    Code:
    REPLACE INTO `creature_names` VALUES (99999,'King Murloc','Harbringer of Doom','',0,8,6,3,0,0,21723,0,0,0,1,1,0,1);
    
    REPLACE INTO `creature_proto` VALUES (99999,72,72,18,50000,50000,70000,1,2,1600,0,1000,4000,0,0,0,0,20395,0,0,6002,0,0,0,0,0,360000,15000,80,80,80,80,80,80,1,1,'0',1,250000,0,0,2.5,8,14,0);
    incase anyone wants the sql for inserting the npc

  7. #7
    Apprentice emil94 is offline
    MemberRank
    Mar 2008 Join Date
    17Posts

    Re: [Release] King Murloc LUA Script!

    Yes This Is Me As Posted It On Mmowned Dum Ass

  8. #8
    Valued Member kuraria is offline
    MemberRank
    Jun 2008 Join Date
    101Posts

    Re: [Release] King Murloc LUA Script!

    Quote Originally Posted by emil94 View Post
    Yes This Is Me As Posted It On Mmowned Dum Ass
    I'm sorry but I have to *poke* you for calling someone dumb and not spelling it right =P

  9. #9
    Member Hominghead is offline
    MemberRank
    Jan 2008 Join Date
    82Posts

    Re: [Release] King Murloc LUA Script!

    Silance! I KeEL YOU! - Achmed the Dead Terrorist

    anyway, a bit lame script >_>

    anybody with atleast knowledge of lua can write this

  10. #10
    Account Upgraded | Title Enabled! bored292 is offline
    MemberRank
    Sep 2006 Join Date
    ...Location
    188Posts

    Re: [Release] King Murloc LUA Script!

    that is like saying anyone that knows c++ can completly rewrite ascent
    so be ssshh unless you got something usefull to say



Advertisement