Thread: Kei Mgb
View Single Post
  #4  
Old 01-12-2011, 05:33 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

It was not too bad, this did it.

Code:
	    
    	            my @clientlist = $entity_list->GetClientList();
	            foreach $ent (@clientlist)
	            {
	                $ent->CastSpell(2570, $ent);
			    }
		    my @npclist = $entity_list->GetNPCList();
	            foreach $ent (@npclist)
	            {
	                    $ent->CastSpell(2570, $ent);
	            }
The only downside is that it looks like they are casting it themselves, which they are. This is the only way I figured for it to work. If you think of any other way let me know.
Reply With Quote