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 1 of 1
  1. #1
    Graphics Guru

    Join Date
    Feb 2009
    Posts
    1,377
    Post Thanks / Like
    Rep Power
    22
    Reputation
    382

    [TFC-Core] Simple Boss Script


    Register to remove this ad
    Quote Originally Posted by Nerc View Post
    Im releasing some of my server's scripts because it is paused atm due to a very low number of testers & developer non-consistency in terms of workflow, and I've worked for 1 year+ on this project, paid money to finance the server alone, without getting anything in return, so in the end I realized it wasn't really worth it. Anyway back to topic guys!


    PS: I am the owner. I am intentionally sharing these scripts to the public for obvious reasons I suppose.



    Code:
    --[[ 
        The Forgotten Crusade - Funserver 
        ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ 
        Type - Boss Script 
        _________________________________ 
        - Developer(s): Nerc, Psykko 
        - Status: 100% 
        - ScriptName: 'boss_aquarius' 
        - Comment: needs testing 
        ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ 
    ]]-- 
    
    -- -- -- Tables 
    -- NPC EntryIDs 
    local entryIds = { 
        ["boss"] = 205010, 
    } 
    -- SpellIDs 
    local spellsIds = { 
        -- -- Fight 
        -- Boss 
        ["wind"] = 6982, 
    } 
    -- Texts 
    local msgIds = { 
        -- On Fight Start 
        [1] = "Sample text to be changed!", 
    } 
    
    -- -- Spell Loops 
    -- Wind 
    function aquariusWind(eventId, delay, repeats, worldobject) 
        worldobject:CastSpell(worldobject:GetVictim(), spellsIds["wind"], true) 
    end 
    
    -- -- Hook Functions 
    -- CREATURE_EVENT_ON_ENTER_COMBAT 
    local function AquariusOnEnterCombat(event, creature, target) 
        -- Misc 
        creature:SendUnitSay(msgIds[1], 0) 
        -- Spells 
        creature:RegisterEvent(aquariusWind, 9523, 0) 
    end 
    -- CREATURE_EVENT_ON_DIED 
    local function AquariusOnDied(event, creature, killer) 
        -- Misc 
        creature:RemoveEvents() 
    end 
    
    
    -- Hook Register 
    RegisterCreatureEvent(entryIds["boss"], 1, AquariusOnEnterCombat) 
    RegisterCreatureEvent(entryIds["boss"], 4, AquariusOnDied)  




    Enjoy free The Forgotten Crusade scripts. Hope this brings some joy or use to whoever comes across it!



    Credits to Psykko for helping with boss scripts and many developmental obstacles we have faced on our TFC journey.




    › See More: [TFC-Core] Simple Boss Script
    Last edited by Wise; 09-04-19 at 07:04 AM.



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

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Tags for this Thread

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 04:06 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