public static void createSpell(int castId, int casterY, int casterX, int offsetY, int offsetX, int angle, int speed, int movegfxID,int startHeight, int endHeight, int finishID, int enemyY, int enemyX, int MageAttackIndex) {
for (Player p : server.playerHandler.players) {
	if(p != null)  { 
		client person = (client)p;
		if(person.playerName != null || person.playerName != "null")
			//if(person.distanceToPoint(enemyY, enemyX) <= 60)
				person.firespell(castId, casterY, casterX, offsetY, offsetX, angle, speed, movegfxID, startHeight, endHeight, finishID, enemyY, enemyX, MageAttackIndex);}
	}
}