[Release Lua] One of My First Lua Scripts menu

User Tag List

Results 1 to 6 of 6
  1. #1
    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)

    [Release Lua] One of My First Lua Scripts

    This is just a script I wrote it is very simple and was one of my first. I added some more stuff to it. Can some one check and see if it is alright?


    Code:
    function Lord_of_Windsong_Enrage(pUnit, event)
    if pUnit:GetHealthPct() < 60 then
    pUnit:RemoveEvents()
    pUnit:CastSpell(33653)
    pUnit:CastSpell(30435)
    pUnit:CastSpell(43121)
    pUnit:SendChatMessage(11,0,"Come and Fight Me!!")
    end
    end
     
    function Lord_of_Windsong_onCombat (pUnit, Event)
    pUnit:SendChatMessage(11, 0, "Ha Ha You Cant Defeat Me!")
    pUnit:RegisterEvent("Lord_of_Windsong_Enrage",1000,0)
     
    end
     
    function Lord_of_Windsong_onLeaveCombat(pUnit, Event)
    pUnit:RemoveAura(33653)
    pUnit:RemoveAura(30435)
    pUnit:RemoveAura(43121)
    pUnit:RemoveEvents()
    end
     
    function Lord_of_Windsong_onDeath(pUnit, Event)
    pUnit:SendChatMessage(11,0,"No..No..No.....No...!!!!!")
    pUnit:RemoveAura(33653)
    pUnit:RemoveAura(30435)
    pUnit:RemoveAura(43121)
    pUnit:RemoveEvents()
    end
     
    RegisterUnitEvent (14, 1, "Lord_of_Windsong_onCombat")
    RegisterUnitEvent (14, 2, "Lord_of_Windsong_onLeaveCombat")
    RegisterUnitEvent (14, 4, "Lord_of_Windsong_onDeath")



    Tell you What it does:
    At 60% it enrages Increases the caster's Physical damage by 100% for 10 min.
    and also uses a spell called Enlarge Critter which increases his size by double
    then it uses Cyclone Deals 950 to 1050 damage and knocks players away.
    He does this continueously throughout the fight
    and says Come and Fight Me
    When he gets in combats he says Ha Ha You Cant Defeat Me
    Then when he dies he says No..No..No.....No...!!!!!")
    Last edited by Juicyz; 03-27-2008 at 11:59 PM. Reason: Fixing Code Tags

    [Release Lua] One of My First Lua Scripts
  2. #2
    *Alexz*'s Avatar Member
    Reputation
    105
    Join Date
    May 2007
    Posts
    521
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use code tags

    ill test it latter
    Last edited by *Alexz*; 03-27-2008 at 10:22 PM.

  3. #3
    LaAevie's Avatar Member
    Reputation
    85
    Join Date
    Mar 2008
    Posts
    143
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works. I tested it on a Rabbit with modified HP of 1 million that is a funny fight. Lol.

  4. #4
    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)
    K Thank You Does it do WHat i Said? I havnt tried it yet, Me and some friends on this website are making a server right now

  5. #5
    LaAevie's Avatar Member
    Reputation
    85
    Join Date
    Mar 2008
    Posts
    143
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It said everything fine for me.

  6. #6
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Told ya you could do it youreself
    Cheese Cake?

Similar Threads

  1. [Release] LUA Script Pad
    By mager1794 in forum WoW EMU Programs
    Replies: 20
    Last Post: 10-14-2008, 11:46 AM
  2. [Release] Lua scripts, The ultimative thread v3
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 35
    Last Post: 07-01-2008, 09:05 AM
  3. Replies: 9
    Last Post: 06-19-2008, 03:55 AM
  4. [Release] Lua scripts, The ultimative thread v1
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-26-2008, 10:28 AM
  5. [Release] Lua scripts, The ultimative thread v2
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 05-25-2008, 08:03 AM
All times are GMT -5. The time now is 01:15 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search