Welcome to the MMOtop - Arcemu, Mangos, Trinity.
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Grandelf's Avatar
    Status : Grandelf is offline
    Join Date : Nov 2009
    Posts : 117
    Thanks: 1
    Thanked 23 Times in 13 Posts
    Rep Power : 4
    Reputation:153Grandelf has a spectacular aura about Grandelf has a spectacular aura about

    Default [Lua] Fix Overkill, Dragon's Breath and Cone of Cold.

    A Lua fix of 3 spells. This might be usefull for servers which are using a repack, or aint familiar with compiling a core.

    Code:
    SPELL = {}
    SPELL.OverkillSpells = {1784, 1785, 1786, 1787}
    SPELL.DragonBreathSpells = {31661, 33041, 33042, 33043, 42949, 42950}
    SPELL.ConeOfColdSpells = {120, 8492, 10159, 10160, 10161, 27087, 42930, 42931}
    
    function SPELL.OnCastStealth(event, player, spellid)
    	for k, v in pairs(SPELL.OverkillSpells) do
    		if (spellid == v) then
    			if (player:HasAura(58426) == true) then
    				player:CastSpell(58427)
    			end	
    		end
    	end
    end
    
    function SPELL.OnCastSpellDragonsBreath(event, player, spellid)
    	for k, v in pairs(SPELL.DragonBreathSpells) do
    		if (spellid == v) then
    			player:CastSpell(37289)
    		end
    	end
    	return 0
    end
    
    function SPELL.OnCastSpellConeOfCold(event, player, spellid)
    	for k, v in pairs(SPELL.ConeOfColdSpells) do
    		if (spellid == v) then
    			player:CastSpell(65023)
    		end
    	end
    	return 0
    end
    
    RegisterServerHook(10, "SPELL.OnCastStealth")	
    RegisterServerHook(10, "SPELL.OnCastSpellDragonsBreath")
    RegisterServerHook(10, "SPELL.OnCastSpellConeOfCold")

  2. #2
    Lucian's Avatar
    Status : Lucian is offline
    Join Date : Dec 2009
    Location : US
    Posts : 1,275
    Thanks: 4
    Thanked 57 Times in 36 Posts
    Rep Power : 4
    Reputation:36Lucian is on a distinguished road

    Default

    nice thanks good job
    John 3:16
    For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.

  3. #3
    Grandelf's Avatar
    Status : Grandelf is offline
    Join Date : Nov 2009
    Posts : 117
    Thanks: 1
    Thanked 23 Times in 13 Posts
    Rep Power : 4
    Reputation:153Grandelf has a spectacular aura about Grandelf has a spectacular aura about

    Default

    Quote Originally Posted by Lucian View Post
    nice thanks good job
    Thanks, and you're a fast replyer, lol =P.

  4. #4
    Lucian's Avatar
    Status : Lucian is offline
    Join Date : Dec 2009
    Location : US
    Posts : 1,275
    Thanks: 4
    Thanked 57 Times in 36 Posts
    Rep Power : 4
    Reputation:36Lucian is on a distinguished road

    Default

    lol, I always look for new posts, and there hasn't been one in a while. I refresh pages like every 60 seconds. Depends if im doing something else or not.
    John 3:16
    For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.

  5. #5
    Jerry's Avatar
    Status : Jerry is offline
    Join Date : Mar 2009
    Location : Serbia
    Posts : 2,321
    Thanks: 223
    Thanked 501 Times in 286 Posts
    Rep Power : 10
    Reputation:2077Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute Jerry has a reputation beyond repute

    Default

    Thank's man, i think i will send you request for friendship

  6. #6
    Status : Wano is offline
    Join Date : Apr 2011
    Posts : 4
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Rep Power : 0
    Reputation:10Wano is on a distinguished road

    Default

    Thanks ;D Is it possible to fix Charge? I can't use it when i'm in combat :/ The talent is bugged :S or does anyone know a script for this already ?


 

Visitors found this page by searching for:

arcemu lua spellfixes

overkill spell id

fix dragons breath trinitycore

arcemu lua how to fix spell

arcemu lua scripts spell fixes

fix spells arcemu lua

cone of cold wow scrpting

dragons breath fix trinitycore

wow lua spell fixes

lua script wow fix spell

lua script fix spell

arcemu spell fixes lua

world of warcraft CastSpell() spellid

spells fixen lua wow

fix spell lua

lua spell fixes

lua dragon scripts

lua fixing spells

trinitycore dragons breath

dragons breath trinitycore

how to fix spells on arcemu (lua)

trinity core cone of cold

how to fix spells with lua wow

fixed c spell trinity core

trinity core fix dragonbreath

SEO Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts