LUA] Phase Transititon menu

User Tag List

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

    LUA] Phase Transititon

    I have just started to script, like I have only been doing this for 30 minutes or so. I am working on a script that I am going to try and run on my own private server, fix it and then make it available for public release. Now the question I have is when using the GetHealthPct command will MobX in this script Change phases properly, or do I need to edit the way this is set up. Right now in the structure it is in I don't see how that work's correctly but like I said I am new. Feel free to PM me with help


    Also when using the time in milliseconds information. Will this make the NPC cast the spell once every X amount of milliseconds or will the mob wait X seconds and then spam the spell however many times

    function Salix On_combat (pUnit, Event)
    pUnit:GetHealthPct() <90
    pUnit:RemoveEffects();
    pUnit:SendChatMessage (12, 0,"Do you not know who I am? I have trampled worlds much more powerful than your own. It's to bad, you would have been a welcome addition to my army. Don't worry, I'll make this quick.")
    pUnit:RegisterEvent ("Salix_Deathcoil", 10000, 1)
    pUnit:RegisterEvent ("phase_1", 1000, 0)
    end
    end

    #DeathCoil Info
    function Salix_Deathcoil (pUnit, Event)
    pUnit:CastSpellOnTarget (27223, pUnit:GetMainTank())
    end

    #Phase 1

    function phase_1(pUnit, Event)
    if pUnit:GetHealthPct() < 75
    pUnit:RemoveEffects();
    pUnit:SendChatMessage(12, 0,"Enough Fooling Around, Time to Die!")
    pUnit:RegisterEvent ("Salix_ManaBomb", 45000, 3)
    pUnit:RegisterEvent ("Salix_ManaBurn", 10000, 1000)
    pUnit:RegisterEvent ("Salix_AESilence", 6000, 30)
    pUnit:RegisterEvent ("phase_2", 1000, 0)
    end
    end



    <spell info and such folows as well as phase 2 info>

    LUA] Phase Transititon

Similar Threads

  1. [Sql/Lua] Phasing Obstacal Course
    By Ground Zero in forum WoW EMU General Releases
    Replies: 7
    Last Post: 02-20-2010, 05:59 PM
  2. [LUA] Spells/Phases Not Occuring
    By trinityunit in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 06-07-2009, 03:28 AM
  3. [LUA] Phase Transition
    By Virgillost in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 10-06-2008, 08:28 AM
  4. VanCleef LUA - 4 Phases Script
    By Creepfold in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-11-2008, 05:13 AM
  5. [Lua]Boss phases not working, NEED PRO HELP!!
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-23-2008, 02:30 PM
All times are GMT -5. The time now is 12:49 AM. 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