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 2 of 2
  1. #1
    Scout

    Join Date
    Sep 2008
    Posts
    12
    Post Thanks / Like
    Rep Power
    17
    Reputation
    16

    Gnome Elementalists


    Register to remove this ad
    Heres Yet another Lua scripted boss fight i did
    It is two gnomes.. Arkim and Mikra...
    One is Immune to all types of Magic except fire
    One is Immune to all types of Magic except Ice.
    They have decent melee damage
    One only casts Fire damage spells
    One only casts Ice Damage spells
    Both also cast stuns and roots and such and put out pretty decent DPS spellwise
    Alot of neat spell graphics thrown in here so its actually a pretty cool looking fight.

    Spawn ids are 888781 and 888782
    Code:
    INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('888781','Gnome Arcanist Arkim','Elementalist','','0','7','0','3','10215','0','0','0','0','0');
    INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('888781','72','72','1787','112831','114123','77122','0','1600','2421','4212','0','0','0','0','0','0','0','36000','2455','99','0','99','99','99','99','1','0','1','0','0','0','2.5','8','14');
    INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('888782','Gnome Arcanist Mikra','Elementalist','','0','7','0','3','10215','0','0','0','0','0');
    INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('888782','72','72','1787','112831','114123','77122','0','1600','2421','4212','0','0','0','0','0','0','0','36000','2455','99','99','99','0','99','99','1','0','1','0','0','0','2.5','8','14');
    Luas
    Code:
    function Firegnome_EnterCombat (pUnit, event)
             pUnit:SendChatMessage(14, 0, "It all will burn...")
             pUnit:RegisterEvent("Firegnome_Fireshield", 3000, 1)
             pUnit:RegisterEvent("Firegnome_Fire", 6000, 0)  
             pUnit:RegisterEvent("Firegnome_Phase2", 1000, 0)
      pUnit:CastSpell(42048)
    end
    function Firegnome_Fire (pUnit, event)
             pUnit:FullCastSpellOnTarget(26660, pUnit:GetClosestPlayer())
    end
    function Firegnome_Fireshield (pUnit, event)
             pUnit:CastSpell(19630)
    end
    function Firegnome_Phase2 (pUnit, event)
          if pUnit:GetHealthPct() < 76 then
             pUnit:RemoveEvents()        
             pUnit:SendChatMessage(14, 0, "Revel in the Chaos!")
             pUnit:RegisterEvent("Firegnome_Firechain", 5000, 0)
             pUnit:RegisterEvent("Firegnome_Fireflare", 4000, 0)
             pUnit:RegisterEvent("Firegnome_Phase3", 1000, 0)
      end
    end
    function Firegnome_Firechain (pUnit, event)
             pUnit:FullCastSpellOnTarget(32982, pUnit:GetMainTank())
    end
    function Firegnome_Fireflare (pUnit, event)
             pUnit:FullCastSpellOnTarget(46101, pUnit:GetMainTank())
    end
    function Firegnome_Phase3 (pUnit, event)
          if pUnit:GetHealthPct() < 49 then
             pUnit:RemoveEvents()        
             pUnit:RegisterEvent("Firegnome_Firebomb", 6000, 0)
             pUnit:RegisterEvent("Firegnome_Fireycast", 5000, 0) 
             pUnit:RegisterEvent("Firegnome_Phase4", 1000, 0)
      end
    end
    function Firegnome_Firebomb (pUnit, event)
             pUnit:FullCastSpellOnTarget(20679, pUnit:GetMainTank())
    end
    function Firegnome_Fireycast (pUnit, event)
             pUnit:FullCastSpellOnTarget(21670, pUnit:GetMainTank())
    end
    function Firegnome_Phase4 (pUnit, event)
          if pUnit:GetHealthPct() < 20 then
             pUnit:RemoveEvents()
             pUnit:SendChatMessage(14, 0, "Reduced to smoldering ruins")
             pUnit:CastSpell(29652)
      end
    end
    function Firegnome_LeaveCombat (pUnit, event)
             pUnit:RemoveEvents()
    end
    function Firegnome_Die (pUnit, event)
             pUnit:RemoveEvents()
             pUnit:SendChatMessage(14, 0, "The flames! I feel them")     
    end
    RegisterUnitEvent(888782, 1, "Firegnome_EnterCombat")
    RegisterUnitEvent(888782, 2, "Firegnome_LeaveCombat")
    RegisterUnitEvent(888782, 4, "Firegnome_Die")
    Code:
    function Icegnome_EnterCombat (pUnit, event)
             pUnit:SendChatMessage(14, 0, "Hee hee Foolish...")
             pUnit:RegisterEvent("Icegnome_Iceshield", 100, 1)
             pUnit:RegisterEvent("Icegnome_Ice", 4000, 0)  
             pUnit:RegisterEvent("Icegnome_Phase2", 1000, 0)
      pUnit:CastSpell(42049)
    end
    function Icegnome_Ice (pUnit, event)
             pUnit:FullCastSpellOnTarget(46194, pUnit:GetClosestPlayer())
    end
    function Icegnome_Iceshield (pUnit, event)
             pUnit:CastSpell(36881)
    end
    function Icegnome_Phase2 (pUnit, event)
          if pUnit:GetHealthPct() < 76 then
             pUnit:RemoveEvents()        
             pUnit:SendChatMessage(14, 0, "Hee hee hee hee")
             pUnit:RegisterEvent("Icegnome_Icechain", 5000, 0)
             pUnit:RegisterEvent("Icegnome_Iceflare", 4000, 0)
             pUnit:RegisterEvent("Icegnome_Phase3", 1000, 0)
      end
    end
    function Icegnome_Icechain (pUnit, event)
             pUnit:FullCastSpellOnTarget(512, pUnit:GetMainTank())
    end
    function Icegnome_Iceflare (pUnit, event)
             pUnit:FullCastSpellOnTarget(3130, pUnit:GetMainTank())
    end
    function Icegnome_Phase3 (pUnit, event)
          if pUnit:GetHealthPct() < 49 then
             pUnit:RemoveEvents()        
             pUnit:RegisterEvent("Icegnome_Frostbomb", 6000, 0)
             pUnit:RegisterEvent("Icegnome_Iceycast", 25000, 0) 
             pUnit:RegisterEvent("Icegnome_Phase4", 1000, 0)
      end
    end
    function Icegnome_Frostbomb (pUnit, event)
             pUnit:FullCastSpellOnTarget(16869, pUnit:GetMainTank())
    end
    function Icegnome_Iceycast (pUnit, event)
             pUnit:FullCastSpellOnTarget(28522, pUnit:GetMainTank())
    end
    function Icegnome_Phase4 (pUnit, event)
          if pUnit:GetHealthPct() < 20 then
             pUnit:RemoveEvents()
             pUnit:SendChatMessage(14, 0, "Having fun yet?")
             pUnit:CastSpell(46194)
      end
    end
    function Icegnome_LeaveCombat (pUnit, event)
             pUnit:RemoveEvents()
    end
    function Icegnome_Die (pUnit, event)
             pUnit:RemoveEvents()
             pUnit:SendChatMessage(14, 0, "No...No... Its impossible!")     
    end
    RegisterUnitEvent(888781, 1, "Icegnome_EnterCombat")
    RegisterUnitEvent(888781, 2, "Icegnome_LeaveCombat")
    RegisterUnitEvent(888781, 4, "Icegnome_Die")






    › See More: Gnome Elementalists



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

  3. #2
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188

    Register to remove this ad
    Damn real nice...

 

 

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