[HELP] Scripting +rep for help menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [HELP] Scripting +rep for help

    Hello.

    I need help scriting my own made bosses dose some one know how to do that ?

    i need them to make spell's and talk , get bigger , get smaller and maybe some thing more like that

    +rep for help

    [HELP] Scripting +rep for help
  2. #2
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i do not under stand hmm could u help me ? whit the http://www.mmowned.com/forums/emulat...bossfight.html how should it look ? where should i put my npc name and id ?

  4. #4
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Err no I can't. Gotta do homework sorry.

  5. #5
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is my script
    function phase_1(pUnit, Event)
    if pUnit:GetHealthPct() < 90 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(17613)
    pUnit:RegisterEvent("phase_2",2000, 0)
    end
    end

    function phase_2(pUnit, Event)
    if pUnit:GetHealthPct() < 80 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(17613)
    pUnit:RegisterEvent("phase_3",2000, 0)
    end
    end

    function phase_3(pUnit, Event)
    if pUnit:GetHealthPct() < 70 then
    pUnit:RemoveEvents();
    pUnit:SendChatMessage(12, 0, "FEEL MY POWER MORTAL!!")
    pUnit:FullCastSpell(25500)
    pUnit:RegisterEvent("phase_4",2000, 0)
    end
    end

    function phase_4(pUnit, Event)
    if pUnit:GetHealthPct() < 65 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(17613)
    pUnit:RegisterEvent("phase_5",2000, 0)
    end
    end

    function phase_5(pUnit, Event)
    if pUnit:GetHealthPct() < 49 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(17613)
    pUnit:RegisterEvent("phase_6",2000, 0)
    end
    end

    function phase_6(pUnit, Event)
    if pUnit:GetHealthPct() < 37 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(36123)
    pUnit:RegisterEvent("phase_7",2000, 0)
    end
    end

    function phase_7(pUnit, Event)
    if pUnit:GetHealthPct() < 25 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(17613)
    pUnit:RegisterEvent("phase_8",2000, 0)
    end
    end

    function phase_8(pUnit, Event)
    if pUnit:GetHealthPct() < 13 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(4193
    pUnit:RegisterEvent("phase_9",1500, 0)
    end
    end

    function phase_9(pUnit, Event)
    if pUnit:GetHealthPct() < 3 then
    pUnit:RemoveEvents();
    pUnit:FullCastSpell(22744)
    pUnit:SendChatMessage(12, 0, "NO! I AM ANASTERIAN!! I CAN NOT BE DEFEATED!")
    end
    end

    function boss_start(pUnit, Event)
    pUnit:RegisterEvent("phase_1",1000, 0)
    end
    RegisterUnitEvent(4800, 1, "boss_start")
    why dosent it work ?
    Last edited by Summer; 02-13-2008 at 08:19 PM. Reason: ops

  6. #6
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you create an sql file for your boss and name your LUA file the correct name. (Bossname.lua) Also its not spaced right.

  7. #7
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what sql file ? and how sould i space ?thx for helping me =)

  8. #8
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need a creature in the database that cooresponds to it.

  9. #9
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes i have a creature

  10. #10
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yhay i work's now got a new repack my old one whas shit the +rep

    must spred some first doh
    Last edited by Summer; 02-13-2008 at 09:20 PM. Reason: :S

  11. #11
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hehe thanks.
    LUA probably wasn't enabled.

Similar Threads

  1. [Request] Recieve token script +rep for the helpers
    By vikelous in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 10-12-2008, 11:23 AM
  2. Script for spawning npc? +rep for who helps
    By lethalllama in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 08-23-2008, 02:35 AM
  3. [HELP] My script dosnt work =( +rep for help
    By Summer in forum World of Warcraft Emulator Servers
    Replies: 24
    Last Post: 03-13-2008, 06:11 PM
  4. Mount Size +rep for helping
    By Muatmessmoko in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 07-29-2007, 03:39 PM
  5. Replies: 10
    Last Post: 05-07-2007, 01:16 PM
All times are GMT -5. The time now is 05:25 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