public String fixMessageString(String message, String loc)
	{
		if(message==null) return null;
		int x=message.indexOf("<DAMAGE>");
		if(x<0) x=message.indexOf("<DAMAGES>");
		if(x<0) return message;
		int y=Integer.MAX_VALUE;
		int which=-1;
		for(int i=0;i<TRANSLATE.length;i++)
		{
			final int y1=message.indexOf(TRANSLATE[i][0],x);
			if((y1>x)&&(y1<y)){ y=y1; which=i;}
		}
		if(which>=0)
			message=message.substring(0,y)+TRANSLATE[which][1]+" "+loc+message.substring(y+TRANSLATE[which][0].length());
		return message;
	}