Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 5 of 5

Thread: Unworthy script

  1. #1
    Contributor
    runiker's Avatar
    Join Date
    Jul 2008
    Posts
    170
    Post Thanks / Like
    Rep Power
    18
    Reputation
    113

    Unworthy script


    Register to remove this ad
    This script should work to make the Unworthy Initiates in ebon hold more like the ones on retail note that i can not change the sql files for you so you must make sure they are attackable can can be killed and have the right data in there.

    If there are any errors port them in this forum and i will fix bugs.
    Code:
    function function Unworthy_cast1 (pUnit, event)
    pUnit:FullCastSpell(52374)
    end
    
    function function Unworthy_cast2 (pUnit, event)
    pUnit:FullCastSpell(52375)
    end
    
    function function Unworthy_cast3 (pUnit, event)
    pUnit:FullCastSpell(49576)
    end
    
    function function Unworthy_cast4 (pUnit, event)
    pUnit:FullCastSpell(52372)
    end
    
    function function Unworthy_cast5 (pUnit, event)
    pUnit:FullCastSpell(52373)
    end
    
    
    
    
    function function Unworthy_EnterCombat (pUnit, event)
    pUnit:SetModel(25375)
            pUnit:RegisterEvent("Unworthy_cast1", 15000, 0)
            pUnit:RegisterEvent("Unworthy_cast2", 17000, 0)
            pUnit:RegisterEvent("Unworthy_cast3", 20000, 0)
            pUnit:RegisterEvent("Unworthy_cast4", 16000, 0)
            pUnit:RegisterEvent("Unworthy_cast5", 19000, 0)
    
    end
    
    function Unworthy_LeaveCombat1 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25356)
        end
        if display == 2 then 
        pUnit:SetModel(25367)
        end
        if display == 3 then 
            pUnit:SetModel(25365)
        end
        if display == 4 then 
            pUnit:SetModel(25366)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_LeaveCombat2 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25370)
        end
        if display == 2 then 
        pUnit:SetModel(25368)
        end
        if display == 3 then 
            pUnit:SetModel(25359)
        end
        if display == 4 then 
            pUnit:SetModel(25354)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_LeaveCombat5 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25369)
        end
        if display == 2 then 
        pUnit:SetModel(25363)
        end
        if display == 3 then 
            pUnit:SetModel(25352)
        end
        if display == 4 then 
            pUnit:SetModel(25360)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_LeaveCombat4 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25355)
        end
        if display == 2 then 
        pUnit:SetModel(25371)
        end
        if display == 3 then 
            pUnit:SetModel(25372)
        end
        if display == 4 then 
            pUnit:SetModel(25361)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_LeaveCombat4 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25373)
        end
        if display == 2 then 
        pUnit:SetModel(25357)
        end
        if display == 3 then 
            pUnit:SetModel(25358)
        end
        if display == 4 then 
            pUnit:SetModel(25364)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_Die1 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25356)
        end
        if display == 2 then 
        pUnit:SetModel(25367)
        end
        if display == 3 then 
            pUnit:SetModel(25365)
        end
        if display == 4 then 
            pUnit:SetModel(25366)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_Die2 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25370)
        end
        if display == 2 then 
        pUnit:SetModel(25368)
        end
        if display == 3 then 
            pUnit:SetModel(25359)
        end
        if display == 4 then 
            pUnit:SetModel(25354)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_Die5 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25369)
        end
        if display == 2 then 
        pUnit:SetModel(25363)
        end
        if display == 3 then 
            pUnit:SetModel(25352)
        end
        if display == 4 then 
            pUnit:SetModel(25360)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_Die4 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25355)
        end
        if display == 2 then 
        pUnit:SetModel(25371)
        end
        if display == 3 then 
            pUnit:SetModel(25372)
        end
        if display == 4 then 
            pUnit:SetModel(25361)
        end
        pUnit:RemoveEvents()
    end
    
    function Unworthy_Die4 (pUnit, event)
    display = math.random (1 , 4)
        if display == 1 then 
            pUnit:SetModel(25373)
        end
        if display == 2 then 
        pUnit:SetModel(25357)
        end
        if display == 3 then 
            pUnit:SetModel(25358)
        end
        if display == 4 then 
            pUnit:SetModel(25364)
        end
        pUnit:RemoveEvents()
    end
    
    RegisterUnitEvent(29566, 1, "Unworthy_EnterCombat")
    RegisterUnitEvent(29565, 1, "Unworthy_EnterCombat")
    RegisterUnitEvent(29519, 1, "Unworthy_EnterCombat")
    RegisterUnitEvent(29520, 1, "Unworthy_EnterCombat")
    RegisterUnitEvent(29567, 1, "Unworthy_EnterCombat")
    RegisterUnitEvent(29566, 2, "Unworthy_LeaveCombat1")
    RegisterUnitEvent(29565, 2, "Unworthy_LeaveCombat2")
    RegisterUnitEvent(29519, 2, "Unworthy_LeaveCombat3")
    RegisterUnitEvent(29520, 2, "Unworthy_LeaveCombat4")
    RegisterUnitEvent(29567, 2, "Unworthy_LeaveCombat5")
    RegisterUnitEvent(29566, 4, "Unworthy_Die1")
    RegisterUnitEvent(29567, 4, "Unworthy_Die2")
    RegisterUnitEvent(29520, 4, "Unworthy_Die3")
    RegisterUnitEvent(19519, 4, "Unworthy_Die4")
    RegisterUnitEvent(29565, 4, "Unworthy_Die5")





    › See More: Unworthy script
    Last edited by runiker; 11-02-09 at 11:22 PM.



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Contributor
    runiker's Avatar
    Join Date
    Jul 2008
    Posts
    170
    Post Thanks / Like
    Rep Power
    18
    Reputation
    113
    Fixed an error

  4. #3
    Contributor
    QQrofl's Avatar
    Join Date
    Jan 2009
    Posts
    153
    Post Thanks / Like
    Rep Power
    17
    Reputation
    132
    Very nice... I really thought you said this script was "Unworthy" lol... Glad I clicked on it. xD
    Trinity C++ Event Scriptor, ArcEmu C++ Event Scriptor. I have done countless projects to entertain people, so many nostalgic moments, but the best has soon to come.

  5. #4
    Contributor
    Lbniese's Avatar
    Join Date
    Aug 2009
    Location
    C# Developer
    Posts
    381
    Post Thanks / Like
    Rep Power
    17
    Reputation
    91
    Make download link please and the npc

  6. #5
    Scout

    Join Date
    Mar 2009
    Posts
    14
    Post Thanks / Like
    Rep Power
    16
    Reputation
    17

    Register to remove this ad
    Lots of unecessary code in this.

 

 

Visitors found this page by searching for:

29566 29565 29519 29520 29567

unworthy initiate fix

ebon hold script trinity

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 05:57 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org