public void SpecDamg(int maxDamage) {
 for (Player p : server.playerHandler.players)
  {
   if(p != null) 
    {
	 if (PlayerHandler.players[AttackingOn].IsDead == false ) {
	 int damage = misc.random(maxDamage);
         if (PlayerHandler.players[AttackingOn].playerLevel[3] - hitDiff < 0) 
         damage = PlayerHandler.players[AttackingOn].playerLevel[3];
	 PlayerHandler.players[AttackingOn].hitDiff = damage;
	 PlayerHandler.players[AttackingOn].updateRequired = true;
	 PlayerHandler.players[AttackingOn].hitUpdateRequired = true;
	 }
	}
      }
    }