[Release] Gnome Elementalists Lua and SQL menu

User Tag List

Results 1 to 12 of 12
  1. #1
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] Gnome Elementalists Lua and SQL

    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:PlaySoundToSet(10923)
             pUnit:RegisterEvent("Firegnome_Fireshield", 3000, 1)
             pUnit:RegisterEvent("Firegnome_Fire", 6000, 0)  
             pUnit:RegisterEvent("Firegnome_Phase2", 1000, 0)
    	 
    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:PlaySoundToset(5927)
             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:PlaySoundToSet(5924)        
             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")
    	 pUnit:PlaySoundToSet(2826)
    	 pUnit:PlaySoundToSet(3278)     
    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, "Foolish...")
    	 pUnit:PlaySoundToSet(2827)
             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:PlaySoundtoSet(6913)
             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!")
    	 pUnit:PlaySoundToSet(7920)
    	 pUnit:PlaySoundToSet(1038)     
    end
    
    RegisterUnitEvent(888781, 1, "Icegnome_EnterCombat")
    RegisterUnitEvent(888781, 2, "Icegnome_LeaveCombat")
    RegisterUnitEvent(888781, 4, "Icegnome_Die")



    Last edited by kreegoth; 09-10-2008 at 10:14 AM.

    [Release] Gnome Elementalists Lua and SQL
  2. #2
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Woah! looks very cool.
    +rep

    Edit: Err. I guess I need to spread. Sorrys :P

  3. #3
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks and np about the rep man just nice to know you liked it

  4. #4
    adde007's Avatar Member
    Reputation
    3
    Join Date
    Jul 2008
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i can re kreegoth they got sounds??

  5. #5
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No sounds other than spell casting but im actually thinking of adding some in.

  6. #6
    Devilsadvocate's Avatar Member
    Reputation
    70
    Join Date
    May 2008
    Posts
    254
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WoW kreegoth...very nice +rep all day

    edit: that is when i can give it
    I'm not going to be releasing anything for a while. I'm back on retail for new content.

  7. #7
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    -edit-
    Added in some sounds due to a few requests

  8. #8
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks Nice enough
    [/COLOR]

  9. #9
    Wolverine77's Avatar Member
    Reputation
    9
    Join Date
    Dec 2007
    Posts
    213
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    love your releases

  10. #10
    The [Bapes]'s Avatar Banned
    Reputation
    14
    Join Date
    Aug 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I like your releases but some helpful criticism - I would start working on C++ not LUA. I see a lot of LUA releases from you, its time to become a real man now.

  11. #11
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well in response to TheBapes..

    How is that you can make Boss encounters in c++.. i prefer scripting encounters and such and putting origional ideas into scripts that i havent seen before... Plus i Like Lua's in the fact that they are useable regardless of the Version you run while Dll's are not.. But please any info you can give me on how that information is not correct would be appreciated.. and im not being sarcastic.

    in response to Wolverine

    Thanks man
    Last edited by kreegoth; 09-10-2008 at 09:06 PM.

  12. #12
    The [Bapes]'s Avatar Banned
    Reputation
    14
    Join Date
    Aug 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can help you out, Its just AI. Just remember this, LUA is made in C++, anything done can be done with C++. If you need help, add my msn - [email protected]

Similar Threads

  1. [LUA and SQL] Necrodragon Kalish
    By kreegoth in forum WoW EMU General Releases
    Replies: 11
    Last Post: 09-28-2008, 12:01 PM
  2. LUA and SQL - Vakama, Earth Warden
    By kreegoth in forum WoW EMU General Releases
    Replies: 5
    Last Post: 09-23-2008, 02:24 AM
  3. NEW Twink pvp level 19 Lua and Sql files
    By runiker in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 07-21-2008, 01:56 PM
  4. [Release] Joker's Fun and Useful Sql Quarie's And Extra!
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 52
    Last Post: 06-19-2008, 04:23 PM
  5. [release] Battle Ground Flag LUA and SQL files
    By runiker in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 06-12-2008, 01:36 PM
All times are GMT -5. The time now is 03:29 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search