View Single Post
  #6  
Old 02-02-2015, 11:26 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Here is an example quest I use... the invis 100 is custom though..

SpellID.lua
11.lua
Code:
function event_spell_effect(e)
	if(e.target) then
		eq.get_entity_list():RemoveFromTargets(e.target, true);
		e.target:SetInvisible(100);
		e.target:Emote("vanishes into thin air."); 
	end
end
I just noticed you are using global_player.. so ya this would only work in... global /spells / spellid.lua

Much easier to keep track of spells this way though :p
Reply With Quote