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 6 of 6
  1. #1
    Senior Sergeant
    Milation's Avatar
    Join Date
    Aug 2008
    Posts
    109
    Post Thanks / Like
    Rep Power
    17
    Reputation
    73

    Smile [Lua] SpellBoss, My First Boss Script!


    Register to remove this ad
    Grettings all!
    first of all i will thx Grandelf for helping me a little ;D

    It's my first BOSSscript, so please if there anythink you want added to it?
    Or if somethink dont work? Please tell me.


    Download Link(The Npc is added too):
    Download The Boss Here



    Code:
    function Spellmaster_OnCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "Who dares disturbing me, you have done the wrong choice!")
    pUnit:RegisterEvent("Spellmaster_Fireball", 5000, 0)
    pUnit:RegisterEvent("Spellmaster_Blastwave", 13000, 0)
    pUnit:RegisterEvent("Spellmaster_Divineplea", 16000,0)
    pUnit:RegisterEvent("Spellmaster_Phase1", 1000, 0)
    end
    
    function Spellmaster_Fireball(pUnit, Event)
    pUnit:FullCastSpellOnTarget(42833, pUnit:GetMainTank())
    end
    
    function Spellmaster_Blastwave(pUnit, Event)
    pUnit:CastSpell(36278)
    end
    
    function Spellmaster_Divineplea(pUnit, Event)
    pUnit:CastSpell(54428)
    end
    
    function Spellmaster_Phase1(pUnit, Event)
    if pUnit:GetHealthPct() < 70 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "Lets have some fun with some ice and some fire!")
    pUnit:FullCastSpell(47820)
    pUnit:RegisterEvent("Spellmaster_Frostbolt", 10000, 0)
    pUnit:RegisterEvent("Spellmaster_Pyroblast", 30000, 0)
    pUnit:RegisterEvent("Spellmaster_Divineplea", 16000,0)
    pUnit:RegisterEvent("Spellmaster_Phase2", 1000, 0)
    end
    end
    
    function Spellmaster_Frostbolt(pUnit, Event)
    pUnit:FullCastSpellOnTarget(42842, pUnit:GetMainTank())
    end
    
    function Spellmaster_Pyroblast(pUnit, Event)
    pUnit:CastSpell(31263)
    end
    
    function Spellmaster_Divineplea(pUnit, Event)
    pUnit:CastSpell(54428)
    end
    
    function Spellmaster_Phase2(pUnit, Event)
    if pUnit:GetHealthPct() < 40 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "Now it is getting serious!")
    pUnit:FullCastSpell(28450)
    pUnit:RegisterEvent("Spellmaster_ArcaneExplosion", 8000, 0)
    pUnit:RegisterEvent("Spellmaster_Divineplea", 16000,0)
    pUnit:RegisterEvent("Spellmaster_Phase3", 1000, 0)
    end
    end
    
    function Spellmaster_ArcaneExplosion(pUnit, Event)
    pUnit:FullCastSpell(28450)
    end
    
    function Spellmaster_Divineplea(pUnit, Event)
    pUnit:CastSpell(54428)
    end
    
    function Spellmaster_Phase3(pUnit, Event)
    if pUnit:GetHealthPct() < 10 then
    pUnit:RemoveEvents()
    pUnit:SendChatMessage(14, 0, "No this wont happend! Come my minions!")
    pUnit:FullCastSpell(31624)
    pUnit:RegisterEvent("Spellmaster_Arcane Barrage", 5000, 0)
    pUnit:RegisterEvent("Spellmaster_ArcaneExplosion2", 13000, 0)
    pUnit:RegisterEvent("Spellmaster_Divineplea", 16000,0)
    end
    end
    
    function Spellmaster_ArcaneExplosion2(pUnit, Event)
    pUnit:FullCastSpell(28450)
    end
    
    function Spellmaster_Arcane Barrage(pUnit, Event)
    pUnit:FullCastSpellOnTarget(59248)
    end
    
    function Spellmaster_OnLeaveCombat(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "And another bunch of weaklings that spilled my time")
    pUnit:RemoveEvents()
    end
    
    function Spellmaster_OnKilledTarget(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "No one can handle the power of magic except me!")
    pUnit:CastSpell(65799)
    end
    
    function Spellmaster_OnDeath(pUnit, Event)
    pUnit:SendChatMessage(14, 0, "How... How have you beaten my knowlegde! No.. you.... wil....... ARGH!")
    pUnit:RemoveEvents()
    end
    
    RegisterUnitEvent(56565, 1, "Spellmaster_OnCombat")
    RegisterUnitEvent(56565, 2, "Spellmaster_OnLeaveCombat")
    RegisterUnitEvent(56565, 3, "Spellmaster_OnKilledTarget")
    RegisterUnitEvent(56565, 4, "Spellmaster_OnDeath")



    › See More: [Lua] SpellBoss, My First Boss Script!

  2. #2
    Elite Member
    Dimman's Avatar
    Join Date
    Apr 2009
    Posts
    1,091
    Post Thanks / Like
    Rep Power
    21
    Reputation
    319
    Post it here *Paste[Bin]* please

    Thanks nice release


    Need to spread .
    No touching please.

  3. #3
    Senior Sergeant
    Milation's Avatar
    Join Date
    Aug 2008
    Posts
    109
    Post Thanks / Like
    Rep Power
    17
    Reputation
    73

  4. #4
    Banned

    Join Date
    Sep 2009
    Posts
    90
    Post Thanks / Like
    Rep Power
    0
    Reputation
    103
    Tank n spank ftl.

    Good first script though.

  5. #5
    Senior Sergeant
    Milation's Avatar
    Join Date
    Aug 2008
    Posts
    109
    Post Thanks / Like
    Rep Power
    17
    Reputation
    73
    Thanks

  6. #6
    Beginner

    Join Date
    Feb 2010
    Posts
    1
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1

    Register to remove this ad
    hey there,

    on this line



    function Spellmaster_Arcane Barrage(pUnit, Event)
    pUnit:FullCastSpellOnTarget(59248)
    end

    gotta remove the space between Arcane Barracge

    function Spellmaster_Arcanebarrage(pUnit, Event)
    pUnit:FullCastSpellOnTarget(59248)
    end

    Other than that seems to work good.



  7. 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

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 06:46 AM.
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