public boolean isInCombat(){
  return (((System.currentTimeMillis() - lastAttackedMilis) <= 10000) || ((System.currentTimeMillis() - lastAttackMilis) <= 10000));
}

public boolean isInCombat ( ) { return ( ( ( System . currentTimeMillis ( ) - lastAttackedMilis ) <= 10000 ) || ( ( System . currentTimeMillis ( ) - lastAttackMilis ) <= 10000 ) ) ; }
player is considered in combat if he ' s been attacked or has attacked less or equal 10s before
